clean(main): add colon in Slack exception log

This commit is contained in:
Yukine
2021-02-04 03:03:15 +01:00
parent fa1971fbd0
commit c0851f94c0

View File

@@ -140,7 +140,7 @@ func handleError(ctx snapshotterContext, err error, fatal bool) {
if ctx.SlackContext != nil {
err = ctx.SlackContext.SendEvent(errString, log.ErrorLevel)
if err != nil {
log.Error(fmt.Sprintf("Error while trying to send error to Slack %s", err.Error()))
log.Error(fmt.Sprintf("Error while trying to send error to Slack: %s", err.Error()))
}
}