Commit f2a9d260 authored by Tres Seaver's avatar Tres Seaver

Issue #2189: logging of refresh error lost traceback.

parent 1a206cb4
......@@ -8,6 +8,8 @@ Zope Changes
Bugs fixed
- Collector #2189: Fix logging of errors during product refresh.
- Collector #2185: Log username for FCGI requests.
- Collector #2152: Fixed MailHost documentation; simple_send does not
......
......@@ -140,7 +140,7 @@ def logBadRefresh(productid):
exc = sys.exc_info()
try:
logger.error('Exception while refreshing %s'
% productid, error=exc)
% productid, exc_info=exc)
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