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

Show errors thrown before the Streamlit server is launched in the WebWorker on the mountable app #26

Closed
whitphx opened this issue May 23, 2022 · 1 comment

Comments

@whitphx
Copy link
Owner

whitphx commented May 23, 2022

Currently, if some error occurs before the Streamlit server launch, the screen stays "Loading...".
It should indicate the error.

@whitphx whitphx changed the title Show errors thrown before the Streamlit server is launched in the WebWorker Show errors thrown before the Streamlit server is launched in the WebWorker on the mountable app Sep 25, 2022
@whitphx
Copy link
Owner Author

whitphx commented Mar 4, 2023

It is displayed on a toast now.

ctx.postMessage({
type: "event:error",
data: {
error,
},
});
throw error;

@whitphx whitphx closed this as completed Mar 4, 2023
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