[Twisted-Python] Location of remote errors with PB
yqiang at gmail.com
Tue Apr 22 11:08:08 EDT 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
On Tue, Apr 22, 2008 at 6:11 AM, Simon Pickles <sipickles at hotmail.com> wrote:
> 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.
> Linux Counter: User# 424693
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
More information about the Twisted-Python