Skip to content

Commit

Permalink
Use KanaalException base exception to catch exceptions
Browse files Browse the repository at this point in the history
Co-authored-by: Anna Shamray <47745906+annashamray@users.noreply.github.com>
  • Loading branch information
SonnyBA and annashamray authored Nov 27, 2024
1 parent 253f750 commit 9be893c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ def handle(self, **options):
f"Registered kanaal '{kanaal}' with {service.api_root}"
)
except (
KanaalRequestException,
KanaalCreateException,
KanaalExistsException,
KanaalException,
) as exception:
self.stderr.write(f"{str(exception)} . Skipping..")

0 comments on commit 9be893c

Please sign in to comment.