Add flash message when upgrade execution completes (pass or fail)

This commit is contained in:
Lance Edgar 2022-03-05 14:31:43 -06:00
parent b5effaa01b
commit 37d4ef751c

View file

@ -417,6 +417,8 @@ class UpgradeView(MasterView):
self.handler.mark_executing(upgrade) self.handler.mark_executing(upgrade)
session.commit() session.commit()
self.handler.do_execute(upgrade, user, **kwargs) self.handler.do_execute(upgrade, user, **kwargs)
return ("Execution has finished, for better or worse. "
"You may need to restart your web app.")
def execute_progress(self): def execute_progress(self):
upgrade = self.get_instance() upgrade = self.get_instance()