Traceback returned to the client when cherrypy.TimeoutError is raised

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Traceback returned to the client when cherrypy.TimeoutError is raised

Hi all,

I am getting this traceback when the configured timeout is hit  

File "/opt/ericsson/nms/litp/3pps/lib/python/cherrypy/", line 169, in trap
    return func(*args, **kwargs)
  File "/opt/ericsson/nms/litp/3pps/lib/python/cherrypy/", line 96, in __call__
    return self.nextapp(environ, start_response)
  File "/opt/ericsson/nms/litp/3pps/lib/python/cherrypy/", line 380, in tail
    return self.response_class(environ, start_response, self.cpapp)
  File "/opt/ericsson/nms/litp/3pps/lib/python/cherrypy/", line 222, in __init__
  File "/opt/ericsson/nms/litp/3pps/lib/python/cherrypy/", line 321, in run, path, qs, rproto, headers, rfile)
  File "/opt/ericsson/nms/litp/3pps/lib/python/cherrypy/", line 603, in run
    raise cherrypy.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?


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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at
For more options, visit