summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--morphlib/builder2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py
index 672a08a1..537a56d0 100644
--- a/morphlib/builder2.py
+++ b/morphlib/builder2.py
@@ -441,6 +441,8 @@ class StratumBuilder(BuilderBase):
constituents = [dependency
for dependency in self.artifact.dependencies
if dependency.source.morphology['kind'] == 'chunk']
+ if len(constituents) == 0:
+ logging.error('Stratum %s is empty' % self.artifact.name)
# the only reason the StratumBuilder has to download chunks is to
# check for overlap now that strata are lists of chunks
with self.build_watch('check-chunks'):