diff --git a/solara/server/app.py b/solara/server/app.py index 25eaad583..ff9d426c0 100644 --- a/solara/server/app.py +++ b/solara/server/app.py @@ -362,7 +362,12 @@ def on_msg(msg): container = ipyvuetify.Html(tag="div") context.container = container - load_app_widget(None, app, path) + try: + load_app_widget(None, app, path) + except Exception as e: + msg = f"Error loading app: from path {path} and app {app_name}" + logger.exception(msg) + raise RuntimeError(msg) from e comm.send({"method": "finished", "widget_id": context.container._model_id}) elif method == "app-status": context = kernel_context.get_current_context()