[MM-31359] remove duplicated error logs (#16583)

* remove duplicated error logs

* reflect review comments

* add context

* add error details
Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2020-12-29 09:48:36 +03:00
коммит произвёл GitHub
родитель 727a158e9a
Коммит 40e16ba07f
19 изменённых файлов: 16 добавлений и 47 удалений

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

@@ -530,7 +530,7 @@ func (a *App) HandleCommandResponse(command *model.Command, args *model.CommandA
_, err := a.HandleCommandResponsePost(command, args, response, builtIn)
if err != nil {
mlog.Error("error occurred in handling command response post", mlog.Err(err))
mlog.Debug("Error occurred in handling command response post", mlog.Err(err))
lastError = err
}
@@ -539,7 +539,7 @@ func (a *App) HandleCommandResponse(command *model.Command, args *model.CommandA
_, err := a.HandleCommandResponsePost(command, args, resp, builtIn)
if err != nil {
mlog.Error("error occurred in handling command response post", mlog.Err(err))
mlog.Debug("Error occurred in handling command response post", mlog.Err(err))
lastError = err
}
}