[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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