Skip to content

Commit

Permalink
compile for gc:arc (even if async doesn't work), bump to 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
metagn committed May 1, 2020
1 parent 69ad78b commit b246341
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion websocket.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "0.4.1"
version = "0.4.2"
author = "niv"
description = "websockets for nim"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion websocket/shared.nim
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ proc recvFrame*(ws: AsyncSocket): Future[Frame] {.async.} =
try:
f.opcode = opc.Opcode
except RangeError:
ws.raiseReadException(ProtocolError, "received invalid opcode: " & repr(opc))
ws.raiseReadException(ProtocolError, "received invalid opcode: " & $opc)

if f.rsv1 or f.rsv2 or f.rsv3:
ws.raiseReadException(ProtocolError,
Expand Down

0 comments on commit b246341

Please sign in to comment.