Skip to content

Commit

Permalink
TW-80355 Decrease the severity of log records about the Slack notifie…
Browse files Browse the repository at this point in the history
…r problem to the warning level.
  • Loading branch information
dmitry-treskunov committed Apr 3, 2023
1 parent 6d37ac5 commit 69b42c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ class SlackNotifier(
val result = slackApi.postMessage(token, message.toSlackMessage(sendTo))

if (!result.ok) {
logger.error("Error sending message to $sendTo: ${result.error}")
logger.warn("Error sending message to $sendTo: ${result.error}")
}
}

Expand Down

0 comments on commit 69b42c9

Please sign in to comment.