-
-
Notifications
You must be signed in to change notification settings - Fork 926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Location and line number confusing when errors occur in external files #2336
Closed
Comments
SunderB
added a commit
to SunderB/sonic-pi
that referenced
this issue
Jul 4, 2020
Should hopefully fix sonic-pi-net#2336
SunderB
added a commit
to SunderB/sonic-pi
that referenced
this issue
Oct 4, 2020
Should hopefully fix sonic-pi-net#2336
SunderB
added a commit
to SunderB/sonic-pi
that referenced
this issue
Oct 4, 2020
Should hopefully fix sonic-pi-net#2336
cmaughan
pushed a commit
to cmaughan/sonic-pi
that referenced
this issue
Jan 2, 2021
Should hopefully fix sonic-pi-net#2336
SunderB
added a commit
to SunderB/sonic-pi
that referenced
this issue
May 22, 2021
Should hopefully fix sonic-pi-net#2336
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you run an external file with Sonic Pi (such as having some code in the
init.rb
file) but this external file contains an error, the error is reported, but the location of the error is described confusingly.For example, in the below screenshot, it exhibits a similar issue to #2334 in that the line number is one off, but in addition, the line number is in relation to the external file. This is not immediately obvious in the current implementation, as errors have only previously been handled from code directly running in the built in buffers. In addition, the location is buffer 'eval', which could use improving.
The text was updated successfully, but these errors were encountered: