diff --git a/superset/views/base.py b/superset/views/base.py index 73a259e777f3c..05c2a2994aaf2 100644 --- a/superset/views/base.py +++ b/superset/views/base.py @@ -105,6 +105,7 @@ logger = logging.getLogger(__name__) config = superset_app.config + def get_error_msg() -> str: if conf.get("SHOW_STACKTRACE"): error_msg = traceback.format_exc()