From 4e2509480fadc60937f640587a2a30908dbe73a9 Mon Sep 17 00:00:00 2001 From: Lukacs Berki Date: Fri, 13 Jan 2017 13:11:10 +0000 Subject: 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 --- src/main/cpp/blaze.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3