-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add websocket.UnknownMessage (#1065)
Instead of always skipping structured messages of an unknonw type with a generic log message, the websocket client will provide them to the configured handler in the Unknown field of the IncomingMessage type. Existing message handlers already defensively handle unexpected message types by explicitly checking for msg.WebhookEvent or msg.RequestLogEvent.
- Loading branch information
1 parent
fad8622
commit fdf8276
Showing
2 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters