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