Source syncing tweaks. (#705)

* Allow owner to be specified when syncing certs.

* Ensuring non-endpoint plugins don't fail to complete syncing.

* Adding in some additional error handling.
This commit is contained in:
kevgliss
2017-03-03 14:53:56 -08:00
committed by GitHub
parent d53f64890c
commit fc957b63ff
4 changed files with 8 additions and 5 deletions

View File

@ -20,7 +20,8 @@ def public_certificate(body):
"""
try:
parse_certificate(body)
except Exception:
except Exception as e:
current_app.logger.exception(e)
raise ValidationError('Public certificate presented is not valid.')