Merge "Add Error log to upload_blob func."

This commit is contained in:
Zuul 2018-02-27 05:23:10 +00:00 committed by Gerrit Code Review
commit c73fe300f5
1 changed files with 1 additions and 0 deletions

View File

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