Skip to content
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

Server: Include the file path in error messages when running external files #2470

Merged
merged 5 commits into from
Oct 2, 2020

Conversation

SunderB
Copy link
Contributor

@SunderB SunderB commented Jul 4, 2020

Should hopefully fix #2336 🙂 Yet to be tested

@ethancrawford
Copy link
Collaborator

😂 as I recall, pretty much the same solution I came up with on my machine also - just never got round to cleaning it up and creating a PR 🙂 I'll double check this, but pretty sure it will be good to go. Thanks!

@SunderB SunderB force-pushed the patch/show-filepaths-in-errors branch from 572acdf to bb447f3 Compare July 5, 2020 10:08
@SunderB SunderB changed the title Include the file path in error messages when running external files [untested] Include the file path in error messages when running external files Jul 5, 2020
@SunderB SunderB changed the title Include the file path in error messages when running external files Server: Include the file path in error messages when running external files Jul 6, 2020
@samaaron samaaron merged commit fca92c0 into sonic-pi-net:main Oct 2, 2020
@samaaron
Copy link
Collaborator

samaaron commented Oct 2, 2020

Lovely work, thanks!

samaaron added a commit that referenced this pull request Oct 3, 2020
…-errors"

This reverts commit fca92c0, reversing
changes made to a64755b.
@samaaron
Copy link
Collaborator

samaaron commented Oct 3, 2020

Sorry, I had to revert this as it was buggy.

Please do thoroughly test your code before submitting a pull request. Perhaps next time squash all your commits into a single change so it's easier to triage.

Happy to consider a fixed version of this PR.

@SunderB
Copy link
Contributor Author

SunderB commented Oct 4, 2020

@samaaron I understand :), I think I tested it a while ago and it seemed to work, but I admit I wasn't that thorough.
It would be useful to know what sort of errors, crashes or unexpected behaviour you encountered if possible?

@SunderB SunderB mentioned this pull request Oct 6, 2020
3 tasks
cmaughan pushed a commit to cmaughan/sonic-pi that referenced this pull request Jan 2, 2021
…filepaths-in-errors"

This reverts commit fca92c0, reversing
changes made to a64755b.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Location and line number confusing when errors occur in external files
3 participants