stdio_client: change JSON parse error behavior to inform

main
hkr04 2025-03-30 17:34:18 +08:00
parent ac8e520bdd
commit 0c3ee605b2
1 changed files with 2 additions and 2 deletions

View File

@ -646,7 +646,7 @@ void stdio_client::read_thread_func() {
}
}
} catch (const json::exception& e) {
LOG_ERROR("Failed to parse JSON-RPC message: ", e.what(), ", message: ", line);
LOG_INFO("message: ", line);
}
}
}
@ -755,7 +755,7 @@ void stdio_client::read_thread_func() {
}
}
} catch (const json::exception& e) {
LOG_ERROR("Failed to parse JSON-RPC message: ", e.what(), ", message: ", line);
LOG_INFO("message: ", line);
}
}
}