diff options
Diffstat (limited to 'oslo_db/api.py')
-rw-r--r-- | oslo_db/api.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/oslo_db/api.py b/oslo_db/api.py index dcba2a3..ea1d41d 100644 --- a/oslo_db/api.py +++ b/oslo_db/api.py @@ -139,11 +139,6 @@ class wrap_db_retry(object): with excutils.save_and_reraise_exception() as ectxt: if remaining > 0: ectxt.reraise = not self._is_exception_expected(e) - if ectxt.reraise: - # We got an unexpected exception so stop - # retrying, log it and raise it up to the - # caller. - LOG.exception(_LE('DB error.')) else: LOG.exception(_LE('DB exceeded retry limit.')) # if it's a RetryRequest, we need to unpack it |