Skip to content

Commit

Permalink
More logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Feb 12, 2016
1 parent 2c43968 commit 80651a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion panoramix/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,10 @@ def refresh_datasources(self):
cluster.refresh_datasources()
except Exception as e:
flash(
"Error while processing cluster '{}'".format(cluster),
"Error while processing cluster '{}'\n{}".format(
cluster, str(e)),
"danger")
logging.exception(e)
return redirect('/druidclustermodelview/list/')
cluster.metadata_last_refreshed = datetime.now()
flash(
Expand Down

0 comments on commit 80651a5

Please sign in to comment.