Skip to content

Commit

Permalink
check for message
Browse files Browse the repository at this point in the history
  • Loading branch information
neelasha23 committed Dec 10, 2023
1 parent 6f20b6b commit c047cc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ploomber_core/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ def _add_community_link(e):
elif COMMUNITY not in e.args[0]:
message = e.args[0] + COMMUNITY
e.args = (message,)
if hasattr(e, "message"):
e.message = message

return e

Expand Down

0 comments on commit c047cc7

Please sign in to comment.