aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2017-01-13 13:11:10 +0000
committerGravatar Marcel Hlopko <hlopko@google.com>2017-01-13 13:53:59 +0000
commit4e2509480fadc60937f640587a2a30908dbe73a9 (patch)
tree8958fec955e56fa9985cb7cd556d3befea02ab94
parenteb39663f30d4db7002ef757e1a4c66ca090ac19b (diff)
When the server doesn't return an exit code, add the location of the server log file to the error message.
Helps with #2309. Hopefully. -- PiperOrigin-RevId: 144431711 MOS_MIGRATED_REVID=144431711
-rw-r--r--src/main/cpp/blaze.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/cpp/blaze.cc b/src/main/cpp/blaze.cc
index b3dfc97cb7..5616900462 100644
--- a/src/main/cpp/blaze.cc
+++ b/src/main/cpp/blaze.cc
@@ -1660,7 +1660,8 @@ unsigned int GrpcBlazeServer::Communicate() {
cancel_thread.join();
if (!response.finished()) {
- fprintf(stderr, "\nServer finished RPC without an explicit exit code\n\n");
+ fprintf(stderr, "\nServer finished RPC without an explicit exit code "
+ "(log file: '%s')\n\n", globals->jvm_log_file.c_str());
return GetExitCodeForAbruptExit(*globals);
}