Skip to content

Commit

Permalink
Removed redundant logger defintion
Browse files Browse the repository at this point in the history
  • Loading branch information
gnought committed Nov 3, 2021
1 parent 59a6502 commit 86819c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions superset/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,10 @@
"GLOBAL_ASYNC_QUERIES_WEBSOCKET_URL",
"DASHBOARD_AUTO_REFRESH_MODE",
)
logger = logging.getLogger(__name__)

logger = logging.getLogger(__name__)
config = superset_app.config


def get_error_msg() -> str:
if conf.get("SHOW_STACKTRACE"):
error_msg = traceback.format_exc()
Expand Down

0 comments on commit 86819c9

Please sign in to comment.