clean(main): add colon in Slack exception log
This commit is contained in:
parent
fa1971fbd0
commit
c0851f94c0
@ -140,7 +140,7 @@ func handleError(ctx snapshotterContext, err error, fatal bool) {
|
|||||||
if ctx.SlackContext != nil {
|
if ctx.SlackContext != nil {
|
||||||
err = ctx.SlackContext.SendEvent(errString, log.ErrorLevel)
|
err = ctx.SlackContext.SendEvent(errString, log.ErrorLevel)
|
||||||
if err != nil {
|
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()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user