We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70d6755 commit 7311349Copy full SHA for 7311349
examples/server/tests/features/environment.py
@@ -45,12 +45,9 @@ def after_scenario(context, scenario):
45
46
while is_server_listening(context.server_fqdn, context.server_port):
47
time.sleep(0.1)
48
- except:
49
- exc = sys.exception()
50
- print("error in after scenario:")
51
- print(exc)
52
- print("*** print_tb:")
53
- traceback.print_tb(exc.__traceback__, file=sys.stdout)
+ except Exception:
+ print("ignoring error in after_scenario:")
+ traceback.print_exc(file=sys.stdout)
54
55
56
def server_graceful_shutdown(context):
0 commit comments