Minor patch for #2852

This commit is contained in:
Miroslav Stampar
2017-12-29 13:52:15 +01:00
parent 66c1f72a16
commit 84b7a26bfd
3 changed files with 6 additions and 3 deletions

View File

@@ -95,6 +95,9 @@ def exceptionHandledFunction(threadFunction, silent=False):
if not silent:
logger.error("thread %s: %s" % (threading.currentThread().getName(), ex.message))
if conf.verbose > 1:
traceback.print_exc()
def setDaemon(thread):
# Reference: http://stackoverflow.com/questions/190010/daemon-threads-explanation
if PYVERSION >= "2.6":