Merge branch 'main' into dev/bbl-network-upd

This commit is contained in:
Noisyfox 2025-05-05 15:21:17 +08:00 committed by GitHub
commit 9e304d0743
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
189 changed files with 5887 additions and 347 deletions

View file

@ -4067,7 +4067,7 @@ void GUI_App::on_http_error(wxCommandEvent &evt)
try {
auto evt_str = evt.GetString();
if (!evt_str.empty()) {
json j = json::parse(evt_str);
json j = json::parse(evt_str.utf8_string());
if (j.contains("code")) {
if (!j["code"].is_null())
code = j["code"].get<int>();