mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +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
|
||||
BOOST_LOG_TRIVIAL(info) << "parse_json: payload = " << payload;
|
||||
flush_logs();
|
||||
#endif
|
||||
|
||||
parse_msg_count++;
|
||||
|
||||
Reference in New Issue
Block a user