[ZCM] [ZC] 2155/ 3 Resolve "_log() got an unexpected keyword argument 'error'"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Fri Jul 21 09:21:18 EDT 2006


Issue #2155 Update (Resolve) "_log() got an unexpected keyword argument 'error'"
 Status Resolved, Zope/bug+solution medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2155

==============================================================
= Resolve - Entry #3 by ajung on Jul 21, 2006 9:21 am

 Status: Pending => Resolved

Fixed on the 2.9 branch.
________________________________________
= Edit - Entry #2 by ajung on Jul 21, 2006 9:20 am

 Changes: importance (critical => medium)
________________________________________
= Request - Entry #1 by Pigletto on Jul 21, 2006 9:13 am

File lib/python/Shared/DC/ZRDB/Connection.py has two errors:

in line number 73:

logger.error('Error connecting to relational database.',
                             error=exc_info())

and should be:

logger.error('Error connecting to relational database.',
                             exc_info=exc_info())

Similarly line 153:

logger.error('Error closing relational database connection.',
                             error=exc_info())

should be changed to:

logger.error('Error closing relational database connection.',
                             exc_info=exc_info())
==============================================================



More information about the Zope-Collector-Monitor mailing list