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:
Tim Burke 2017-01-05 14:26:38 -08:00
parent 6982b3c2e5
commit f1eb81eec3
1 changed files with 1 additions and 1 deletions

View File

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