Commit 47981742 authored by Andreas Jung's avatar Andreas Jung

fixed logger call

parent 2a3e8ea5
......@@ -140,7 +140,7 @@ def logBadRefresh(productid):
exc = sys.exc_info()
try:
logger.error('Exception while refreshing %s'
% productid, exc_info=exc)
% productid, exc_info=True)
if hasattr(exc[0], '__name__'):
error_type = exc[0].__name__
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment