You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be much more useful if it reported which line in the user code caused the error.
There are various methods that can be used for this.
Though none nicely documented.
Basically need to filter the wrong info out of the line number nodes in the AST, and insert the __source__
Right now, if there is a exception thrown in code that uses
@compact
to declare the custom layer,the stack trace just reports a line in
It would be much more useful if it reported which line in the user code caused the error.
There are various methods that can be used for this.
Though none nicely documented.
Basically need to filter the wrong info out of the line number nodes in the AST, and insert the
__source__
Examples:
I am note sure if these suffice for something that is multiline
but we have the tech to do at least a little better than we do now
The text was updated successfully, but these errors were encountered: