Skip to content

Commit

Permalink
remove unused exception variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dwc0011 committed Feb 13, 2024
1 parent c2d4ed4 commit cfac7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/watchmaker/utils/imds/detect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def provider(supported_providers=None):
for fut in futures:
try:
results.append(fut.result())
except InvalidProviderError as ipe:
except InvalidProviderError:
pass
except Exception: # pylint: disable=broad-exception-caught
log.error("Unexpected exception occurred", exc_info=True)

Check warning on line 49 in src/watchmaker/utils/imds/detect/__init__.py

View check run for this annotation

Codecov / codecov/patch

src/watchmaker/utils/imds/detect/__init__.py#L48-L49

Added lines #L48 - L49 were not covered by tests
Expand Down

0 comments on commit cfac7ed

Please sign in to comment.