mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
Merge branch 'main' into dev/bbl-network-upd
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user