stdio_client: change JSON parse error behavior to inform
parent
ac8e520bdd
commit
0c3ee605b2
|
@ -646,7 +646,7 @@ void stdio_client::read_thread_func() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (const json::exception& e) {
|
} 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) {
|
} catch (const json::exception& e) {
|
||||||
LOG_ERROR("Failed to parse JSON-RPC message: ", e.what(), ", message: ", line);
|
LOG_INFO("message: ", line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue