You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by er...@apache.org on 2019/11/12 22:44:49 UTC
[incubator-superset] 01/01: [Dashboard Import] Log error on
dashboard import failure
This is an automated email from the ASF dual-hosted git repository.
erikrit pushed a commit to branch erik-ritter--log-dashboard-failure
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
commit 05b00df47385c12fad471a0d4674b7e2d45bc4d6
Author: Erik Ritter <er...@airbnb.com>
AuthorDate: Tue Nov 12 14:44:31 2019 -0800
[Dashboard Import] Log error on dashboard import failure
---
superset/views/core.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/superset/views/core.py b/superset/views/core.py
index cbbd1a8..3db014b 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -1109,7 +1109,8 @@ class Superset(BaseSupersetView):
),
"danger",
)
- except Exception:
+ except Exception as e:
+ logging.exception(e)
flash(
_(
"An unknown error occurred. "