Traceback returned to the client when cherrypy.TimeoutError is raised
[email protected] Tue, 12 Sep 2017 04:29:57 -0700 (PDT)
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I am getting this traceback when the configured timeout is hit
File "/opt/ericsson/nms/litp/3pps/lib/python/cherrypy/_cpwsgi.py", line
169, in trap
return func(*args, **kwargs)
File "/opt/ericsson/nms/litp/3pps/lib/python/cherrypy/_cpwsgi.py", line
96, in __call__
return self.nextapp(environ, start_response)
File "/opt/ericsson/nms/litp/3pps/lib/python/cherrypy/_cpwsgi.py", line
380, in tail
return self.response_class(environ, start_response, self.cpapp)
File "/opt/ericsson/nms/litp/3pps/lib/python/cherrypy/_cpwsgi.py", line
222, in __init__
self.run()
File "/opt/ericsson/nms/litp/3pps/lib/python/cherrypy/_cpwsgi.py", line
321, in run
request.run(meth, path, qs, rproto, headers, rfile)
File "/opt/ericsson/nms/litp/3pps/lib/python/cherrypy/_cprequest.py",
line 603, in run
raise cherrypy.TimeoutError()
TimeoutError
However, the configuration is set to not return tracebacks
global_config = {
'request.error_response': self.handle_error,
'request.show_tracebacks': False,
I would like to get a more comprehensive error returned to the client
instead of the traceback. Is that possible?
Thanks,
Cesar.
--
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
--
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.