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

Error/exception propagation to server #1010

Open
askieslinger opened this issue Feb 25, 2025 · 0 comments
Open

Error/exception propagation to server #1010

askieslinger opened this issue Feb 25, 2025 · 0 comments

Comments

@askieslinger
Copy link

Hi,

we have noticed that when python raises an exception within a solara component, the error is shown in the browser, but not propagated back to the server.

This means that when looking at the server log, we are unaware of any problems our users might have. Instead, the user is confronted with the exception.

This behavior differs from usual python behavior and was unexpected for us.

The obvious (and cumbersome) solution would be to wrap every single python function and catch and log errors, before the exception is swallowed by the component.

Is there a recommended way to force components to log errors and or propagate them to their parent, or do you have other ideas how to achieve this?

Thank you for your work!

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

No branches or pull requests

1 participant