Experimenting with sending errors from JS to Python #544
keller-mark
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This will use the experimental .invoke API to propagate JS errors and re-throw them on the python side as Exceptions. This will of course not be applicable to JS errors that occur prior to AnyWidget running the widget JS successfully. However it might be useful for internal application errors or errors within the render function assuming the initialize function was executed.
Otherwise, these errors will only be visible in the browser console which non-web-experienced users may not know about.
Beta Was this translation helpful? Give feedback.
All reactions