fix: resolve bugs in pubsub and codersdk chat packages (#22717)

This commit is contained in:
Kyle Carberry
2026-03-06 09:37:55 -08:00
committed by GitHub
parent 537260aa22
commit 30a736c49e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func HandleChatEvent(cb func(ctx context.Context, payload ChatEvent, err error))
}
var payload ChatEvent
if err := json.Unmarshal(message, &payload); err != nil {
cb(ctx, ChatEvent{}, xerrors.Errorf("unmarshal chat event"))
cb(ctx, ChatEvent{}, xerrors.Errorf("unmarshal chat event: %w", err))
return
}