Skip to content

Commit 836e03c

Browse files
committed
handle exception
Signed-off-by: Haywood Shannon <5781935+haywoodsh@users.noreply.github.com> Signed-off-by: Haywood Shannon <5781935+haywoodsh@users.noreply.github.com>
1 parent 0aa24da commit 836e03c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/suite/test_virtual_server_foreign_upstream.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ def fin():
8484
delete_namespace(kube_apis.v1, ns_1)
8585
delete_namespace(kube_apis.v1, ns_2)
8686

87-
except:
88-
pass
87+
except Exception as ex:
88+
print(f"Exception during teardown: {ex}")
8989

9090
request.addfinalizer(fin)
9191

0 commit comments

Comments
 (0)