Log a warning to troubleshoot luigi restart failure
This commit is contained in:
parent
c2b2d11141
commit
38e6441b61
|
@ -118,6 +118,7 @@ class LuigiTaskView(MasterView):
|
|||
self.request.session.flash("Luigi scheduler has been restarted.")
|
||||
|
||||
except Exception as error:
|
||||
log.warning("restart failed", exc_info=True)
|
||||
self.request.session.flash(simple_error(error), 'error')
|
||||
|
||||
return self.redirect(self.request.get_referrer(
|
||||
|
|
Loading…
Reference in a new issue