summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildstream/_stream.py3
1 files changed, 3 insertions, 0 deletions
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))