fix sync error message bug
This commit is contained in:
parent
b71282ea0b
commit
e7ec4edf92
@ -333,7 +333,7 @@ class SyncThread(QThread):
|
|||||||
err = log
|
err = log
|
||||||
if not isinstance(err, unicode):
|
if not isinstance(err, unicode):
|
||||||
err = unicode(err, "utf8", "replace")
|
err = unicode(err, "utf8", "replace")
|
||||||
self.fireEvent("error", traceback.format_exc())
|
self.fireEvent("error", err)
|
||||||
return
|
return
|
||||||
if ret == "badAuth":
|
if ret == "badAuth":
|
||||||
return self.fireEvent("badAuth")
|
return self.fireEvent("badAuth")
|
||||||
|
Loading…
Reference in New Issue
Block a user