A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
fix: return 'False' to let normal error handling occur (#4686)
Dylan Madisetti981817e7d2aa
diff --git a/marimo/_ast/app.py b/marimo/_ast/app.pyindex ba7109506c..ee32ebade2 100644--- a/marimo/_ast/app.py+++ b/marimo/_ast/app.py@@ -132,6 +132,11 @@ class _SetupContext:instance: Optional[BaseException],_traceback: Optional[TracebackType],) -> Literal[False]:+ if exception is not None:+ # Always should fail, since static loading still allows bad apps to+ # load.+ return False+# Manually hold on to defs for injection into script mode.if self._frame is not None:for var in self._cell.defs:@@ -148,10 +153,6 @@ class _SetupContext:self._frame.f_locals["app"] = self._previous.get("app", app)self._previous = {}- if exception is not None:- # Always should fail, since static loading still allows bad apps to- # load.- raise exceptionreturn False