Sidnei da Silva wrote at 2007-1-15 17:25 -0200:
> ...
>The kind of info I'm looking for is something along the lines:
>
>  'We've tried to look up an adapter for (ISomething, ITheOther) but
>none was found'
>  'Found an adapter for IFoo, which is a base class for the IBar
>interface requested. No adapter has been found for the most-specific
>interface IBar'
>
>Comments?

In Zope 2, I would use "__traceback_info__" or (more likely)
"__traceback_supplement__" and the traceback formatting
facilities in "zExceptions.ExceptionFormatter".
This is a very efficient way to analyse all problems that
result in an exception -- far better than log entries.



-- 
Dieter
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to