From 6c780a475e15e1cb278e6c45c7aeb01ab283290c Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 20 Jul 2023 12:37:23 +0100 Subject: [PATCH] Add link to bug So we know if we can remove this in the future, or at least have context around why it's there. Change-Id: I4e4bdcd6a01e8c1071045bbe1310cbdf4195ec27 Signed-off-by: Stephen Finucane --- oslo_db/sqlalchemy/exc_filters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oslo_db/sqlalchemy/exc_filters.py b/oslo_db/sqlalchemy/exc_filters.py index 1db6428d..83f17f1c 100644 --- a/oslo_db/sqlalchemy/exc_filters.py +++ b/oslo_db/sqlalchemy/exc_filters.py @@ -431,6 +431,7 @@ def handler(context): yield _registry['*'] # do not reraise for our own exceptions + # https://github.com/sqlalchemy/sqlalchemy/issues/10116 if isinstance(context.original_exception, exception.DBError): return