errcheck issues fixed (#28416)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7e62197520
Коммит
b859ca2d90
@@ -83,7 +83,6 @@ issues:
|
||||
channels/api4/group_local.go|\
|
||||
channels/api4/handlers_test.go|\
|
||||
channels/api4/import_test.go|\
|
||||
channels/api4/integration_action.go|\
|
||||
channels/api4/integration_action_test.go|\
|
||||
channels/api4/ip_filtering.go|\
|
||||
channels/api4/ip_filtering_test.go|\
|
||||
|
||||
@@ -136,5 +136,7 @@ func submitDialog(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
b, _ := json.Marshal(resp)
|
||||
|
||||
w.Write(b)
|
||||
if _, err := w.Write(b); err != nil {
|
||||
c.Logger.Warn("Error while writing response", mlog.Err(err))
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user