Revert "fix the displaying of the error dialogs"
This reverts commit 37985fbb24
.
This commit is contained in:
parent
37985fbb24
commit
143f01d1e8
|
@ -5,7 +5,7 @@ import json
|
|||
|
||||
from PyQt5.QtCore import QThread
|
||||
|
||||
from helper import BorgException, show_error
|
||||
from helper import BorgException
|
||||
|
||||
|
||||
class BorgQtThread(QThread):
|
||||
|
@ -46,8 +46,7 @@ class BorgQtThread(QThread):
|
|||
return
|
||||
else:
|
||||
err = json.loads(error)
|
||||
show_error(BorgException(err['message']))
|
||||
self.stop()
|
||||
raise BorgException(err['message'])
|
||||
|
||||
|
||||
class ListThread(BorgQtThread):
|
||||
|
|
Loading…
Reference in New Issue