mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
ENH: Optimize the presentation of error code dialog
JIRA: STUDIO-7469 STUDIO-7477 STUDIO-7613 Change-Id: I6689dc375a51a1d690b82f9dbaa79d1555f7816f (cherry picked from commit 777c16fef0862587f3ec468652aabd70cff88dfe)
This commit is contained in:
parent
9ab3107304
commit
b75f22bb22
8 changed files with 62 additions and 41 deletions
|
@ -760,7 +760,7 @@ PingCodeBindDialog::~PingCodeBindDialog() {
|
|||
json j = json::parse(str.utf8_string());
|
||||
if (j.contains("err_code")) {
|
||||
int error_code = j["err_code"].get<int>();
|
||||
extra = wxGetApp().get_hms_query()->query_print_error_msg(error_code);
|
||||
wxGetApp().get_hms_query()->query_print_error_msg(error_code, extra);
|
||||
}
|
||||
}
|
||||
catch (...) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue