From 37d4ef751cafabe0d1aa44a266a0b8f55e3b97f4 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 5 Mar 2022 14:31:43 -0600 Subject: [PATCH] Add flash message when upgrade execution completes (pass or fail) --- tailbone/views/upgrades.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tailbone/views/upgrades.py b/tailbone/views/upgrades.py index bcbda9c4..ff4de768 100644 --- a/tailbone/views/upgrades.py +++ b/tailbone/views/upgrades.py @@ -417,6 +417,8 @@ class UpgradeView(MasterView): self.handler.mark_executing(upgrade) session.commit() 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): upgrade = self.get_instance()