Skip to content

Commit

Permalink
minor fixes in chained alert trigger result
Browse files Browse the repository at this point in the history
Signed-off-by: Surya Sashank Nistala <[email protected]>
  • Loading branch information
eirsep committed Jul 10, 2023
1 parent d82d9e2 commit a543356
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ class TriggerService(val scriptService: ScriptService) {
ChainedAlertTriggerRunResult(trigger.name, triggered = evaluate, null, associatedAlertIds = associatedAlertIds)
} catch (e: Exception) {
logger.error("Error running chained alert trigger script for workflow ${workflow.id}, trigger: ${trigger.id}", e)
// if the script fails we need to send an alert so set triggered = true
ChainedAlertTriggerRunResult(
triggerName = trigger.name,
triggered = false,
Expand Down

0 comments on commit a543356

Please sign in to comment.