diff --git a/solara/server/app.py b/solara/server/app.py index 5f9dd449c..b9217e7ef 100644 --- a/solara/server/app.py +++ b/solara/server/app.py @@ -384,7 +384,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()