mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-21 04:13:50 +00:00
remove irrelevant logs
This commit is contained in:
@@ -1304,7 +1304,6 @@ void OrcaCloudServiceAgent::load_sync_state()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
BOOST_LOG_TRIVIAL(warning) << "load_sync_state: failed to read sync state file, resetting timestamp to 0";
|
|
||||||
sync_state.last_sync_timestamp = 0;
|
sync_state.last_sync_timestamp = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1323,9 +1322,7 @@ void OrcaCloudServiceAgent::save_sync_state()
|
|||||||
ofs.close();
|
ofs.close();
|
||||||
boost::filesystem::rename(tmp_path, sync_state_path);
|
boost::filesystem::rename(tmp_path, sync_state_path);
|
||||||
}
|
}
|
||||||
} catch (...) {
|
} catch (...) {}
|
||||||
BOOST_LOG_TRIVIAL(warning) << "save_sync_state: failed to write sync state file";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void OrcaCloudServiceAgent::clear_sync_state()
|
void OrcaCloudServiceAgent::clear_sync_state()
|
||||||
@@ -2233,9 +2230,7 @@ void OrcaCloudServiceAgent::json_to_map(const std::string& json, std::map<std::s
|
|||||||
map[it.key()] = it.value().dump();
|
map[it.key()] = it.value().dump();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (...) {
|
} catch (...) {}
|
||||||
BOOST_LOG_TRIVIAL(warning) << "json_to_map: failed to parse JSON";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user