chore(shell/server): info: skip "record" output field if null
This commit is contained in:
parent
3c89a79144
commit
fb294f4415
1 changed files with 2 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue