errcheck issues fixed (#28416)

This commit is contained in:
Arya Khochare
2024-10-04 09:35:53 +02:00
committed by GitHub
parent 7e62197520
commit b859ca2d90
2 changed files with 3 additions and 2 deletions
-1
View File
@@ -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|\
+3 -1
View File
@@ -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))
}
}