summaryrefslogtreecommitdiff
path: root/glance_store
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2017-01-05 14:26:38 -0800
committerTim Burke <tim.burke@gmail.com>2017-01-05 14:26:38 -0800
commitf1eb81eec379a7a3e2c88aaad96724b77af606c8 (patch)
treeca77249bdff611955733603dd7bf091227e29ebf /glance_store
parent6982b3c2e5f08d001b53413e6277a09013fd52df (diff)
downloadglance_store-f1eb81eec379a7a3e2c88aaad96724b77af606c8.tar.gz
Log at error when we intend to reraise the exception
This prevents repeated stack traces when errors occur. Change-Id: I9007b3473e5900731e0813b2fa3d3c39b0236c44
Diffstat (limited to 'glance_store')
-rw-r--r--glance_store/_drivers/swift/store.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glance_store/_drivers/swift/store.py b/glance_store/_drivers/swift/store.py
index 572f931..5586cc2 100644
--- a/glance_store/_drivers/swift/store.py
+++ b/glance_store/_drivers/swift/store.py
@@ -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,