summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distbuild/build_controller.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/distbuild/build_controller.py b/distbuild/build_controller.py
index e2a63472..b4014b9b 100644
--- a/distbuild/build_controller.py
+++ b/distbuild/build_controller.py
@@ -339,7 +339,8 @@ class BuildController(distbuild.StateMachine):
self._components = find_artifacts(filenames, self._artifact)
if len(self._components) != len(filenames) \
and self._request['partial']:
- raise morphlib.Error('its too much sock')
+ self.fail('Failed to find all components in %s'
+ % self._artifact.name)
self._helper_id = self._idgen.next()
artifact_names = []