1
0
mirror of https://github.com/laurivosandi/certidude synced 2025-10-30 17:09:19 +00:00

tests: More detailed error captures for API calls

This commit is contained in:
2017-05-01 20:49:25 +00:00
parent ffdcbcc41a
commit 128369f6f6
2 changed files with 39 additions and 39 deletions

View File

@@ -41,7 +41,7 @@ class RevocationListResource(object):
resp.body = export_crl()
except:
logger.debug(u"Failed to export CRL, are you sure signer is running?")
raise
raise falcon.HTTPInternalServerError("Failed to export CRL")
else:
logger.debug(u"Client %s asked revocation list in unsupported format" % req.context.get("remote_addr"))
raise falcon.HTTPUnsupportedMediaType(