[MM-31359] remove duplicated error logs (#16583)
* remove duplicated error logs * reflect review comments * add context * add error details
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
727a158e9a
Коммит
40e16ba07f
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user