mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-17 09:52:36 -07:00
Ensure log is flushed so we could know what happened before crash
This commit is contained in:
parent
8b43ecca30
commit
4339bd308e
1 changed files with 1 additions and 0 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue