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
No known key found for this signature in database
GPG Key ID: 6AE0B5764F0126D1
1 changed files with 1 additions and 1 deletions

View File

@ -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()))
} }
} }