Show More
@@ -460,10 +460,13 b' class HTTPApplication(object):' | |||
|
460 | 460 | status_code = request.headers.get('X-RC-Locked-Status-Code') |
|
461 | 461 | return HTTPRepoLocked( |
|
462 | 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. | |
|
465 | log.exception( | |
|
466 | 'error occurred handling this request for path: %s', request.path) | |
|
467 | log.error( | |
|
468 | 'error occurred handling this request for path: %s, \n tb: %s', | |
|
469 | request.path, traceback_info) | |
|
467 | 470 | raise exception |
|
468 | 471 | |
|
469 | 472 |
General Comments 0
You need to be logged in to leave comments.
Login now