-
Notifications
You must be signed in to change notification settings - Fork 101
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
report line number of julia exception #525
Comments
We might be able to do it if we wrap the string in a
|
Thanks. Let me see if that works in my use case, too. |
Just wrapping in begin/end isn't enough to modify the error message printed as part of the What I've done for now is wrap my julia code snipped in a try/catch, with this catch block
This appends the julia code line to the error message, which is then printed by python as part of the |
It would be very helpful if
julia.Main.eval(str)
reported the line number in the code string that raised the exception, as opposed to just repeating back the whole string. Is there any way to extract that information from the julia exception so it can be printed injulia.core.py::check_exception
?The text was updated successfully, but these errors were encountered: