mirror of
https://github.com/borgbase/vorta
synced 2024-12-22 15:57:34 +00:00
Pass on error message for repo adding. Fixes #12
This commit is contained in:
parent
617c8d1c37
commit
3ec781081d
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,8 @@ def run(self):
|
|||
thread.result.connect(self.run_result)
|
||||
self.thread = thread # Needs to be connected to self for tests to work.
|
||||
self.thread.start()
|
||||
else:
|
||||
self._set_status(params['message'])
|
||||
|
||||
def _set_status(self, text):
|
||||
self.errorText.setText(text)
|
||||
|
@ -97,3 +99,5 @@ def run(self):
|
|||
thread.result.connect(self.run_result)
|
||||
self.thread = thread # Needs to be connected to self for tests to work.
|
||||
self.thread.start()
|
||||
else:
|
||||
self._set_status(params['message'])
|
||||
|
|
Loading…
Reference in a new issue