remove irrelevant logs

This commit is contained in:
Ian Chua
2026-05-19 19:32:24 +08:00
parent 4e04bd4510
commit c4b2e943b9

View File

@@ -1304,7 +1304,6 @@ void OrcaCloudServiceAgent::load_sync_state()
}
}
} catch (...) {
BOOST_LOG_TRIVIAL(warning) << "load_sync_state: failed to read sync state file, resetting timestamp to 0";
sync_state.last_sync_timestamp = 0;
}
}
@@ -1323,9 +1322,7 @@ void OrcaCloudServiceAgent::save_sync_state()
ofs.close();
boost::filesystem::rename(tmp_path, sync_state_path);
}
} catch (...) {
BOOST_LOG_TRIVIAL(warning) << "save_sync_state: failed to write sync state file";
}
} catch (...) {}
}
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();
}
}
} catch (...) {
BOOST_LOG_TRIVIAL(warning) << "json_to_map: failed to parse JSON";
}
} catch (...) {}
}
// ============================================================================