mirror of
https://github.com/laurivosandi/certidude
synced 2024-11-10 15:10:35 +00:00
tests: More debugging info for CRL API calls
This commit is contained in:
parent
be561cc52f
commit
227902b563
@ -39,6 +39,7 @@ class RevocationListResource(object):
|
|||||||
logger.debug(u"Serving revocation list to %s in PEM format", req.context.get("remote_addr"))
|
logger.debug(u"Serving revocation list to %s in PEM format", req.context.get("remote_addr"))
|
||||||
try:
|
try:
|
||||||
resp.body = export_crl()
|
resp.body = export_crl()
|
||||||
|
logger.debug(u"Serving %s to client", resp.body)
|
||||||
except:
|
except:
|
||||||
logger.debug(u"Failed to export CRL, are you sure signer is running?")
|
logger.debug(u"Failed to export CRL, are you sure signer is running?")
|
||||||
raise falcon.HTTPInternalServerError("Failed to export CRL")
|
raise falcon.HTTPInternalServerError("Failed to export CRL")
|
||||||
|
Loading…
Reference in New Issue
Block a user