Merge "Add Error log to upload_blob func."
This commit is contained in:
commit
c73fe300f5
|
@ -614,6 +614,7 @@ class Engine(object):
|
|||
except Exception:
|
||||
# if upload failed remove blob from db and storage
|
||||
with excutils.save_and_reraise_exception(logger=LOG):
|
||||
LOG.error("Exception occured: %s", Exception)
|
||||
self._save_blob_info(
|
||||
context, af, field_name, blob_key, None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue