Skip to content

Commit

Permalink
tweak example
Browse files Browse the repository at this point in the history
  • Loading branch information
zachshattuck committed Sep 22, 2024
1 parent 00bec11 commit ec9ffe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ func main() {

frame, err := gows.DeserializeWebSocketFrame(buf[:n])
if err != nil {
fmt.Fprintln(os.Stderr, "Failed to upgrade: ", err)
os.Exit(1)
fmt.Fprintln(os.Stderr, "Failed to deserialize frame: ", err)
continue
}

switch frame.Opcode {
Expand Down

0 comments on commit ec9ffe6

Please sign in to comment.