diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-11-14 17:46:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-08 20:16:08 +0000 |
commit | 9c3c965b9d90617e8aa2cf439019534a35a7bcb1 (patch) | |
tree | 800f36a683fe6e3decc3ff0f4a9d660196a60490 | |
parent | b829d1b5eb486786cae088f6927530433a7e08e8 (diff) | |
download | bitbake-contrib-9c3c965b9d90617e8aa2cf439019534a35a7bcb1.tar.gz |
server/process: print a message when no logfile
[YOCTO #12898]
There might be no bitbake-cookerdaemon.log, print a message for debugging.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/server/process.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py index 7cb08d5c8..6208c185e 100644 --- a/lib/bb/server/process.py +++ b/lib/bb/server/process.py @@ -430,7 +430,11 @@ class BitBakeServer(object): bb.error("Last 10 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-10:]))) else: bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines))) + else: + bb.error("%s doesn't exist" % logfile) + raise SystemExit(1) + ready.close() def _startServer(self): |