[Twisted-Python] Location of remote errors with PB
Yi Qiang
yqiang at gmail.com
Tue Apr 22 09:08:08 MDT 2008
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
>
More information about the Twisted-Python
mailing list