1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-23 00:25:18 +00:00

tests: More debugging info for CRL API calls

This commit is contained in:
Lauri Võsandi 2017-05-01 21:19:28 +00:00
parent be561cc52f
commit 227902b563

View File

@ -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")