Skip to content

Commit

Permalink
Make exception thrown generic
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpyke committed Dec 16, 2024
1 parent 0c7d664 commit e041c9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iam_builder/iam_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

try:
import pkg_resources
except ModuleNotFoundError:
except Exception as e:
print("Error importing pkg_resources", e)
import importlib


Expand Down

0 comments on commit e041c9c

Please sign in to comment.