Skip to content

Commit

Permalink
Remove 'general exception' catch clause
Browse files Browse the repository at this point in the history
  • Loading branch information
jgibo committed May 29, 2024
1 parent dfd4198 commit 18fbf80
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,6 @@ def test_http_client_failed_response(self):
self.assertEqual(response.code, 404)
except HTTPClientError:
pass
except Exception as e:
self.fail(f"Unexpected exception: {e}")

spans = self.memory_exporter.get_finished_spans()
self.assertEqual(len(spans), 2)
Expand Down

0 comments on commit 18fbf80

Please sign in to comment.