mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Ensure log is flushed so we could know what happened before crash
This commit is contained in:
@@ -2811,6 +2811,7 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
|||||||
{
|
{
|
||||||
#ifdef ORCA_NETWORK_DEBUG
|
#ifdef ORCA_NETWORK_DEBUG
|
||||||
BOOST_LOG_TRIVIAL(info) << "parse_json: payload = " << payload;
|
BOOST_LOG_TRIVIAL(info) << "parse_json: payload = " << payload;
|
||||||
|
flush_logs();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
parse_msg_count++;
|
parse_msg_count++;
|
||||||
|
|||||||
Reference in New Issue
Block a user