diff --git a/bbgo/slack.go b/bbgo/slack.go index bf4a28217..a2273a06e 100644 --- a/bbgo/slack.go +++ b/bbgo/slack.go @@ -51,7 +51,7 @@ func (t *SlackNotifier) Notify(format string, args ...interface{}) { } var nonSlackArgs = args - if slackArgsStartIdx > 0 { + if slackArgsStartIdx > -1 { nonSlackArgs = args[:slackArgsStartIdx] }