Skip to content

Commit 810a0ef

Browse files
committed
changing logger to use exception instead of error
1 parent fe9aa2a commit 810a0ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyres/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def process(self, job=None):
201201
return job.perform()
202202
except Exception, e:
203203
exceptionType, exceptionValue, exceptionTraceback = sys.exc_info()
204-
logger.error("%s failed: %s" % (job, e))
204+
logger.exception("%s failed: %s" % (job, e))
205205
job.fail(exceptionTraceback)
206206
self.failed()
207207
else:

0 commit comments

Comments
 (0)