From 3cb6325707f1d41ddcaf26a8ce8e52ce1c46a0f8 Mon Sep 17 00:00:00 2001 From: samuel-w Date: Thu, 10 Sep 2020 21:55:26 -0500 Subject: [PATCH] Print messages on failure Was left out for prune and list actions --- src/vorta/views/archive_tab.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vorta/views/archive_tab.py b/src/vorta/views/archive_tab.py index 8271544ef..ab3078914 100644 --- a/src/vorta/views/archive_tab.py +++ b/src/vorta/views/archive_tab.py @@ -196,6 +196,8 @@ def prune_action(self): thread.result.connect(self.prune_result) self._toggle_all_buttons(False) thread.start() + else: + self._set_status(params['message']) def prune_result(self, result): if result['returncode'] == 0: @@ -212,6 +214,8 @@ def list_action(self): thread.result.connect(self.list_result) self._toggle_all_buttons(False) thread.start() + else: + self._set_status(params['message']) def list_result(self, result): self._toggle_all_buttons(True)