Fix string formatting
We were omitting an '%' where we needed it. Also include the traceback information where it belongs in the new ui.error infrastructure. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
2b9b6be6be
commit
a6480d4959
@ -436,7 +436,6 @@ class BaseFolder(object):
|
||||
raise
|
||||
self.ui.error(e, exc_info()[2])
|
||||
except Exception, e:
|
||||
self.ui.error(e, msg = "ERROR attempting to sync folder %s "
|
||||
"[acc: %s]:\n %s" (self, self.getaccountname(),
|
||||
traceback.format_exc()))
|
||||
self.ui.error(e, exc_info()[2], "Syncing folder %s [acc: %s]" %\
|
||||
(self, self.getaccountname()))
|
||||
raise # raise unknown Exceptions so we can fix them
|
||||
|
Loading…
Reference in New Issue
Block a user