Show More
@@ -460,10 +460,13 b' class HTTPApplication(object):' | |||||
460 | status_code = request.headers.get('X-RC-Locked-Status-Code') |
|
460 | status_code = request.headers.get('X-RC-Locked-Status-Code') | |
461 | return HTTPRepoLocked( |
|
461 | return HTTPRepoLocked( | |
462 | title=exception.message, status_code=status_code) |
|
462 | title=exception.message, status_code=status_code) | |
|
463 | traceback_info = 'unavailable' | |||
|
464 | if request.exc_info: | |||
|
465 | traceback_info = traceback.format_exc(request.exc_info[2]) | |||
463 |
|
466 | |||
464 | # Re-raise exception if we can not handle it. |
|
467 | log.error( | |
465 | log.exception( |
|
468 | 'error occurred handling this request for path: %s, \n tb: %s', | |
466 | 'error occurred handling this request for path: %s', request.path) |
|
469 | request.path, traceback_info) | |
467 | raise exception |
|
470 | raise exception | |
468 |
|
471 | |||
469 |
|
472 |
General Comments 0
You need to be logged in to leave comments.
Login now