Log at error when we intend to reraise the exception
This prevents repeated stack traces when errors occur. Change-Id: I9007b3473e5900731e0813b2fa3d3c39b0236c44
This commit is contained in:
parent
6982b3c2e5
commit
f1eb81eec3
|
@ -920,7 +920,7 @@ class BaseStore(driver.Store):
|
|||
with excutils.save_and_reraise_exception():
|
||||
reason = _LE("Error during chunked upload to "
|
||||
"backend, deleting stale chunks")
|
||||
LOG.exception(reason)
|
||||
LOG.error(reason)
|
||||
self._delete_stale_chunks(
|
||||
manager.get_connection(),
|
||||
location.container,
|
||||
|
|
Loading…
Reference in New Issue