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

GUI callbacks error messages are not logged #699

Open
gtdang opened this issue Dec 14, 2023 · 0 comments
Open

GUI callbacks error messages are not logged #699

gtdang opened this issue Dec 14, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gtdang
Copy link
Collaborator

gtdang commented Dec 14, 2023

When errors occur within a callback function (a function that runs after a button click), the ipywidgets behavior is to back out of the button click. We recently noticed this behavior when trying to debug why plots were not being generated following a model run. While this behavior makes sense because a callback funciton error shouldn't crash the app, it didn't log the error. It was very difficult to debug as we had to step line-by-line to find the error.

These errors should be logged to the output console somehow.

@gtdang gtdang self-assigned this Dec 14, 2023
@gtdang gtdang added the enhancement New feature or request label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant