[ZODB-Dev] Re: Weird errors with Zope 2.7.7
Florent Guillaume
fg at nuxeo.com
Tue Oct 25 08:13:33 EDT 2005
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 fg at nuxeo.com
More information about the ZODB-Dev
mailing list