Skip to content

Commit 228c019

Browse files
Fix duplicate message output in json-ui
1 parent 513b67a commit 228c019

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/util/ui_message.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -294,11 +294,6 @@ void ui_message_handlert::json_ui_msg(
294294
const std::string timestamp = time->stamp();
295295
if(!timestamp.empty())
296296
result["timestamp"] = json_stringt(timestamp);
297-
298-
// By convention a leading comma is created by every new array entry.
299-
// The first entry is generated in the constructor and does not have
300-
// a trailing comma.
301-
std::cout << ",\n" << result;
302297
}
303298

304299
void ui_message_handlert::flush(unsigned level)

0 commit comments

Comments
 (0)