[Reality] regarding stack traces...
Glyph Lefkowitz
glyph@divunal.com
Sun, 22 Aug 1999 18:29:45 -0400 (EDT)
Good call, phil!
Thanks.
On Sun, 22 Aug 1999, Phil Christensen wrote:
> Glyph, awhile back you mentioned you wanted to send stack traces
> somewhere else. I don't know exactly where in the code this was, but
> here's how you'd do it:
>
> catch(Exception e) //or whatever
> {
> StringWriter sw = new StringWriter();
> e.printStackTrace(sw);
> Object[] hears = {sw.toString()};
> d.subject().hears(hears); //or whatever
> }
>
> -phil
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
>
> _______________________________________________
> Reality maillist - Reality@twistedmatrix.com
> http://www.twistedmatrix.com/mailman/listinfo/reality
>