[Twisted-Python] Location of remote errors with PB

George Pauly george at ringdevelopment.com
Tue Apr 22 14:24:25 MDT 2008


On Tue, 2008-04-22 at 08:08 -0700, Yi Qiang wrote:
> When you create your server factory, you can optionally pass in a
> parameter called unsafeTracebacks=True. This will give the client the
> whole traceback I believe.
> 
>     client_factory = pb.PBServerFactory(p, unsafeTracebacks=True)
> 
> I think it's called unsafe because it can potentially reveal quite a
> bit information about your server, someone correct me if I'm wrong
> though :-)
> 
> Cheers,
> Yi
> 
> http://yiqiang.org	
> 
> On Tue, Apr 22, 2008 at 6:11 AM, Simon Pickles <sipickles at hotmail.com> wrote:
> > Hello,
> >
> >  my app uses twisted.pb to communicate across its parts.
> >
> >  Is there any way a caller can find out the whole traceback rather than just
> > the description( eg "*global name 'true' is not defined*"?)
> >
> >  This is so I can have help debugging.
> >
> >  Thanks
> >
> >  Si
> >
> >
> >  --
> >  Linux Counter: User# 424693
> >
> >
> >
> >  _______________________________________________
> >  Twisted-Python mailing list
> >  Twisted-Python at twistedmatrix.com
> >  http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> >
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-- 
George Pauly
Ring Development
www.ringdevelopment.com





More information about the Twisted-Python mailing list