diff options
| author | Mishio595 <[email protected]> | 2018-11-18 19:07:17 -0700 |
|---|---|---|
| committer | Mishio595 <[email protected]> | 2018-11-18 19:07:17 -0700 |
| commit | 527cb01c914bcb13a257bc33107c4573a72cc6dd (patch) | |
| tree | a106f0ddc4d0eed1ec7c08514db93cf99fe7162f /lib/client/sharder.ml | |
| parent | Ping bot example (diff) | |
| download | disml-527cb01c914bcb13a257bc33107c4573a72cc6dd.tar.xz disml-527cb01c914bcb13a257bc33107c4573a72cc6dd.zip | |
Add complete event support for client.on
Diffstat (limited to 'lib/client/sharder.ml')
| -rw-r--r-- | lib/client/sharder.ml | 2 |
1 files changed, 1 insertions, 1 deletions
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; |