Skip to content

Commit

Permalink
Merge pull request #608 from armosec/sfix1
Browse files Browse the repository at this point in the history
Raise exception when failing to create Teams channel in workflows
  • Loading branch information
kooomix authored Feb 5, 2025
2 parents 45e8c8c + 857c2ab commit cda369c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests_scripts/workflows/teams_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def create_webhook(self, name):
if "already exists" in str(e):
Logger.logger.info("Teams channel already exists")
return
raise e

assert r == "Teams channel created", f"Expected 'Teams channel created', but got {r['response']}"

Expand Down

0 comments on commit cda369c

Please sign in to comment.