chore(shell/server): info: skip "record" output field if null

This commit is contained in:
Sebastian Ullrich 2017-01-09 17:48:27 +01:00
parent 3c89a79144
commit fb294f4415

View file

@ -475,7 +475,8 @@ public:
}
}
j["record"] = record;
if (!record.is_null())
j["record"] = record;
} catch (throwable & ex) {}
m_server->send_msg(cmd_res(m_seq_num, j));