You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2020/01/04 19:52:12 UTC

[incubator-superset] 11/22: [Dashboard Import] Log error on dashboard import failure (#8550)

This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch 0.35
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 8e38ee28c6b63e922c88bf80a687521bad164ebe
Author: Erik Ritter <er...@airbnb.com>
AuthorDate: Wed Nov 13 09:41:48 2019 -0800

    [Dashboard Import] Log error on dashboard import failure (#8550)
---
 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 afe5609..8ea8c0b 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -1111,7 +1111,8 @@ class Superset(BaseSupersetView):
                     ),
                     "danger",
                 )
-            except Exception:
+            except Exception as e:
+                logging.exception(e)
                 flash(
                     _(
                         "An unknown error occurred. "