We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ffdc84 commit 8be82d7Copy full SHA for 8be82d7
router/core/websocket.go
@@ -1144,7 +1144,7 @@ func (h *WebSocketConnectionHandler) Initialize() (err error) {
1144
h.logger.Debug("Websocket connection", zap.String("protocol", h.protocol.Subprotocol()))
1145
h.initialPayload, err = h.protocol.Initialize()
1146
if err != nil {
1147
- _ = h.requestError(fmt.Errorf("error initializing session"))
+ _ = h.requestError(fmt.Errorf("error initializing session: %w", err))
1148
return err
1149
}
1150
0 commit comments