mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-29 22:02:10 +00:00
ENH: some improvements and fixs
1. create user folder if not exists 2. add a tips for binding a printer 3. fix sdcard tips 4. modify icons 5. refine layout of task options Change-Id: Ic0529cf1e8bdde0128052bc42454f6e6aaae87ca Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
@@ -103,7 +103,10 @@ void BindJob::process()
|
||||
msg = _L("Logging in");
|
||||
}
|
||||
if (code != 0) {
|
||||
msg = _L("Login failed") + wxString::Format("(code=%d,info=%s)", code, info);
|
||||
msg = _L("Login failed") + wxString::Format("(code=%d,info=%s). ", code, info);
|
||||
if (code == BAMBU_NETWORK_ERR_TIMEOUT) {
|
||||
msg += _L("Please check the printer network connection.");
|
||||
}
|
||||
}
|
||||
update_status(curr_percent, msg);
|
||||
}
|
||||
|
||||
@@ -85,6 +85,7 @@ wxString PrintJob::get_http_error_msg(unsigned int status, std::string body)
|
||||
else {
|
||||
wxString unkown_text = _L("Unkown Error.");
|
||||
unkown_text += wxString::Format("status=%u, body=%s", status, body);
|
||||
BOOST_LOG_TRIVIAL(error) << "http_error: status=" << status << ", code=" << code << ", error=" << error;
|
||||
return unkown_text;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user