From f1eb81eec379a7a3e2c88aaad96724b77af606c8 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Thu, 5 Jan 2017 14:26:38 -0800 Subject: [PATCH] Log at error when we intend to reraise the exception This prevents repeated stack traces when errors occur. Change-Id: I9007b3473e5900731e0813b2fa3d3c39b0236c44 --- glance_store/_drivers/swift/store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,