##// END OF EJS Templates
core: let pyramid handle tracebacks for all exceptions....
marcink -
r1311:69141fb5 default
parent child Browse files
Show More
@@ -227,6 +227,8 b' def error_handler(exception, request):'
227 227 log.exception('failed to fetch settings')
228 228 rc_config = {}
229 229
230 log.exception(
231 'error occurred handling this request for path: %s', request.path)
230 232 base_response = HTTPInternalServerError()
231 233 # prefer original exception for the response since it may have headers set
232 234 if isinstance(exception, HTTPError):
@@ -76,7 +76,6 b' class PylonsErrorHandlingMiddleware(obje'
76 76 except HTTPError as e: # pyramid type exceptions
77 77 return self.error_view(e, request)
78 78 except Exception as e:
79 log.exception(e)
80 79
81 80 if self.reraise():
82 81 raise
General Comments 0
You need to be logged in to leave comments. Login now