Don't output thread ID in log
The thread ID is not really useful and looks ugly. It also makes lines longer than needed, there is more useful information we can put in the log. So do away with it. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
050bbb3d2d
commit
48fdb14418
@ -104,11 +104,10 @@ class UIBase:
|
||||
ui.error(exc, sys.exc_info()[2], msg="While syncing Folder %s in "
|
||||
"repo %s")
|
||||
"""
|
||||
cur_thread = threading.currentThread()
|
||||
if msg:
|
||||
self._msg("ERROR [%s]: %s\n %s" % (cur_thread, msg, exc))
|
||||
self._msg("ERROR: %s\n %s" % (msg, exc))
|
||||
else:
|
||||
self._msg("ERROR [%s]: %s" % (cur_thread, exc))
|
||||
self._msg("ERROR: %s" % (exc))
|
||||
|
||||
if not self.debuglist:
|
||||
# only output tracebacks in debug mode
|
||||
|
Loading…
Reference in New Issue
Block a user