|
@@ -390,6 +390,11 @@ class Server(object): |
|
|
cherrypy.config.update({ 'request.show_tracebacks' : True }) |
|
|
cherrypy.config.update({ 'request.show_tracebacks' : True }) |
|
|
self.force_traceback = force_traceback |
|
|
self.force_traceback = force_traceback |
|
|
|
|
|
|
|
|
|
|
|
# Patch CherryPy error handler to never pad out error messages. |
|
|
|
|
|
# This isn't necessary, but then again, neither is padding the |
|
|
|
|
|
# error messages. |
|
|
|
|
|
cherrypy._cperror._ie_friendly_error_sizes = {} |
|
|
|
|
|
|
|
|
cherrypy.tree.apps = {} |
|
|
cherrypy.tree.apps = {} |
|
|
cherrypy.tree.mount(Root(self.db, self.version), "/") |
|
|
cherrypy.tree.mount(Root(self.db, self.version), "/") |
|
|
cherrypy.tree.mount(Stream(self.db), "/stream") |
|
|
cherrypy.tree.mount(Stream(self.db), "/stream") |
|
|