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
1 changed files with 1 additions and 0 deletions

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"))
try:
resp.body = export_crl()
logger.debug(u"Serving %s to client", resp.body)
except:
logger.debug(u"Failed to export CRL, are you sure signer is running?")
raise falcon.HTTPInternalServerError("Failed to export CRL")