feature add log info for server data error.

This commit is contained in:
alves
2026-01-22 15:59:20 +08:00
parent 7496e9acd0
commit 2ddac78309
2 changed files with 12 additions and 3 deletions

View File

@@ -4876,7 +4876,10 @@ void GUI_App::check_new_version_sf(bool show_tips, bool by_user)
if (by_user)
evt->SetInt(UPDATE_BY_USER);
GUI::wxGetApp().QueueEvent(evt);
} catch (...) {}
} catch (const std::exception& ex) {
std::string errorMsg = ex.what();
BOOST_LOG_TRIVIAL(fatal) << "request server soft update data error:" << errorMsg;
}
})
.perform_sync();
}