Chris Withers wrote:
Dieter Maurer wrote:
- self._log.error(msg)
+ self._log.error(msg,exc_info=True)
raise ConnectionStateError(msg)
I mind -- the change is stupid:
Because you are not in an exception handler, "exc_info=True"
cannot provide meaningful information -- there is no
exception that can be presented...
Yes, true *sigh*
I guess I'm looking for a show_stack option...
import traceback; traceback.print_stack()
Florent
Tim, how would I go about getting one of those added to Python?
(It's not much of a code change, but the process of getting it into
python seems a bit daunting from an outsiders perspective...)
--
Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/
ZODB-Dev mailing list - ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev