[Dashboard Import] Log error on dashboard import failure (#8550)

This commit is contained in:
Erik Ritter
2019-11-13 09:41:48 -08:00
committed by GitHub
parent 90275fe991
commit 1a5c2573b7

View File

@@ -1109,7 +1109,8 @@ class Superset(BaseSupersetView):
),
"danger",
)
except Exception:
except Exception as e:
logging.exception(e)
flash(
_(
"An unknown error occurred. "