We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 287cde5 commit 68f49c9Copy full SHA for 68f49c9
src/client.h
@@ -55,13 +55,11 @@ class RPCClient {
55
56
if (!unpacker.unpackNil()){
57
Serial.print("RPC error - ");
58
- int error_code;
59
- MsgPack::str_t error_str;
60
- unpacker.deserialize(error_code, error_str);
+ unpacker.deserialize(rpc_error.code, rpc_error.traceback);
61
Serial.print(" error code: ");
62
- Serial.print(error_code);
+ Serial.print(rpc_error.code);
63
Serial.print(" error str: ");
64
- Serial.println(error_str);
+ Serial.println(rpc_error.traceback);
65
unpacker.unpackNil();
66
msg_id += 1;
67
flush_buffer();
0 commit comments