Revision 6e9c8fc1
b/snf-pithos-app/pithos/api/util.py | ||
---|---|---|
918 | 918 |
update_response_headers(request, response) |
919 | 919 |
return response |
920 | 920 |
except Fault, fault: |
921 |
if fault.code >= 500: |
|
922 |
logger.exception("API Fault") |
|
921 | 923 |
return render_fault(request, fault) |
922 | 924 |
except BaseException, e: |
923 | 925 |
logger.exception('Unexpected error: %s' % e) |
Also available in: Unified diff