Skip to content

Commit

Permalink
Log warning when alert action isn't scheduled
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Mar 10, 2020
1 parent b9c41f3 commit 4c20e4b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ export function createExecutionHandler({
spaceId,
apiKey,
});
} else {
logger.warn(
`Alert "${alertId}" skipped scheduling action "${action.id}" because it is disabled`
);
}
}
};
Expand Down

0 comments on commit 4c20e4b

Please sign in to comment.