mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
[MM-61775] Fix errcheck issues in server/channels/app/platform/web_broadcast_hook.go (#29514)
Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
This commit is contained in:
parent
737bed311c
commit
a5faf9e6e3
2 changed files with 4 additions and 2 deletions
|
|
@ -95,7 +95,6 @@ issues:
|
|||
channels/app/platform/license.go|\
|
||||
channels/app/platform/session.go|\
|
||||
channels/app/platform/status.go|\
|
||||
channels/app/platform/web_broadcast_hook.go|\
|
||||
channels/app/platform/web_hub_test.go|\
|
||||
channels/app/plugin_test.go|\
|
||||
channels/app/post_helpers_test.go|\
|
||||
|
|
|
|||
|
|
@ -29,7 +29,10 @@ func (h *Hub) runBroadcastHooks(msg *model.WebSocketEvent, webConn *WebConn, hoo
|
|||
continue
|
||||
}
|
||||
|
||||
hook.Process(hookedEvent, webConn, args)
|
||||
err := hook.Process(hookedEvent, webConn, args)
|
||||
if err != nil {
|
||||
mlog.Warn("runBroadcastHooks: Error processing hook", mlog.String("hook_id", hookID), mlog.Err(err))
|
||||
}
|
||||
}
|
||||
|
||||
return hookedEvent.Event()
|
||||
|
|
|
|||
Loading…
Reference in a new issue