Converting to structured logging the file app/command_echo.go (#12144)

Этот коммит содержится в:
Nikhil Ranjan
2019-09-10 14:08:29 +02:00
коммит произвёл Claudio Costa
родитель 2e76c4c0c7
Коммит 94eb3caa73

Просмотреть файл

@@ -4,7 +4,6 @@
package app
import (
"fmt"
"strconv"
"strings"
"time"
@@ -90,7 +89,7 @@ func (me *EchoProvider) DoCommand(a *App, args *model.CommandArgs, message strin
time.Sleep(time.Duration(delay) * time.Second)
if _, err := a.CreatePostMissingChannel(post, true); err != nil {
mlog.Error(fmt.Sprintf("Unable to create /echo post, err=%v", err))
mlog.Error("Unable to create /echo post.", mlog.Err(err))
}
})