Let mark_entry_failed log unknown exceptions
I don't know exactly why, but an exception during processing hasn't found its way up. The entry was marked as failed and that was it. So I decided to add a _log.warn to the part of mark_entry_failed that handles general exceptions.
This commit is contained in:
parent
34344f1d85
commit
baae1578da
@ -114,6 +114,7 @@ def mark_entry_failed(entry_id, exc):
|
||||
u'fail_error': exc.exception_path,
|
||||
u'fail_metadata': exc.metadata}})
|
||||
else:
|
||||
_log.warn("No idea what happened here, but it failed: %r", exc)
|
||||
# Looks like no, so just mark it as failed and don't record a
|
||||
# failure_error (we'll assume it wasn't handled) and don't record
|
||||
# metadata (in fact overwrite it if somehow it had previous info
|
||||
|
Loading…
x
Reference in New Issue
Block a user