ENH:show more binding errors

jira:[show more binding errors info]

Change-Id: Id677de2a0caba427f416941a9a095ea744df9ccd
This commit is contained in:
tao wang 2023-10-25 16:01:07 +08:00 committed by Lane.Wei
parent 033747d085
commit bd0341703d
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ void BindJob::process()
if (result < 0) {
BOOST_LOG_TRIVIAL(trace) << "login: result = " << result;
if (result_code == BAMBU_NETWORK_ERR_BIND_ECODE_LOGIN_REPORT_FAILED) {
if (result_code == BAMBU_NETWORK_ERR_BIND_ECODE_LOGIN_REPORT_FAILED || result_code == BAMBU_NETWORK_ERR_BIND_GET_PRINTER_TICKET_TIMEOUT) {
int error_code;
try