mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-26 01:21:57 +00:00
Slightly better logging
This commit is contained in:
parent
f263524b19
commit
9826ff193b
@ -1268,7 +1268,7 @@ void QueryDbMainLoop(
|
|||||||
}
|
}
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
std::cerr << "Unhandled IPC message with kind "
|
std::cerr << "1 Unhandled IPC message with kind "
|
||||||
<< static_cast<int>(message->method_id) << std::endl;
|
<< static_cast<int>(message->method_id) << std::endl;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
@ -1438,7 +1438,7 @@ void LanguageServerStdinLoop(IpcMessageQueue* ipc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
std::cerr << "Unhandled IPC message with kind "
|
std::cerr << "3 Unhandled IPC message with kind "
|
||||||
<< static_cast<int>(message->method_id) << std::endl;
|
<< static_cast<int>(message->method_id) << std::endl;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
@ -1464,7 +1464,7 @@ void LanguageServerMainLoop(IpcMessageQueue* ipc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
std::cerr << "Unhandled IPC message with kind "
|
std::cerr << "2 Unhandled IPC message with kind "
|
||||||
<< static_cast<int>(message->method_id) << std::endl;
|
<< static_cast<int>(message->method_id) << std::endl;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user