From f73d05b3b216e238f0d54655901374ff1fc6af5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Mon, 25 Mar 2019 07:47:30 +0100 Subject: _stream.py: Check whether logs are cached in artifact_log() --- buildstream/_stream.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildstream/_stream.py b/buildstream/_stream.py index 262b38852..d77b8d33b 100644 --- a/buildstream/_stream.py +++ b/buildstream/_stream.py @@ -523,6 +523,9 @@ class Stream(): if not obj._cached(): self._message(MessageType.WARN, "{} is not cached".format(ref)) continue + elif not obj._cached_logs(): + self._message(MessageType.WARN, "{} is cached without log files".format(ref)) + continue logsdirs.append(self._artifacts.get_artifact_logs(ref)) -- cgit v1.2.1