From 527cb01c914bcb13a257bc33107c4573a72cc6dd Mon Sep 17 00:00:00 2001 From: Mishio595 Date: Sun, 18 Nov 2018 19:07:17 -0700 Subject: Add complete event support for client.on --- lib/client/sharder.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/client/sharder.ml') diff --git a/lib/client/sharder.ml b/lib/client/sharder.ml index 652358f..8d735b0 100644 --- a/lib/client/sharder.ml +++ b/lib/client/sharder.ml @@ -58,7 +58,7 @@ module Shard = struct let parse frame = match frame with | `Ok s -> Yojson.Basic.from_string s - | `Eof -> raise Invalid_Payload + | `Eof -> raise Invalid_Payload (* This needs to go into reconnect code, or stop using client_ez and handle frames manually *) let push_frame ?payload shard ev = print_endline @@ "Pushing frame. OP: " ^ Opcode.to_string @@ ev; -- cgit v1.2.3