Steve Alexander wrote:
>
> Latest ZPatterns release. Zope 2.2b4.
>
> If I raise an error in an external method that is called by a
> GenericTrigger, I sometimes get a strange log message:
<various bits snipped>
> I've put the call to each Agent's "change observed" event in a
> try-except block. This makes my Zope instance happier when I do stupid
> things in external methods, and has the additional advantage of
> insulating other Agents from one particular Agent's problems.
Of course, a patch that made a suitable log entry would be better than
what I just posted to the list, which just writes the execption and
traceback to stderr.
--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )