Skip to content

Commit 18fbf80

Browse files
committed
Remove 'general exception' catch clause
1 parent dfd4198 commit 18fbf80

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-tornado/tests/test_instrumentation.py

-2
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,6 @@ def test_http_client_failed_response(self):
634634
self.assertEqual(response.code, 404)
635635
except HTTPClientError:
636636
pass
637-
except Exception as e:
638-
self.fail(f"Unexpected exception: {e}")
639637

640638
spans = self.memory_exporter.get_finished_spans()
641639
self.assertEqual(len(spans), 2)

0 commit comments

Comments
 (0)