summaryrefslogtreecommitdiff
path: root/cbuildbot/stages/generic_stages.py
diff options
context:
space:
mode:
Diffstat (limited to 'cbuildbot/stages/generic_stages.py')
-rw-r--r--cbuildbot/stages/generic_stages.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cbuildbot/stages/generic_stages.py b/cbuildbot/stages/generic_stages.py
index 7539d563c..3d70508ad 100644
--- a/cbuildbot/stages/generic_stages.py
+++ b/cbuildbot/stages/generic_stages.py
@@ -265,7 +265,9 @@ class BuilderStage(object):
A string description of the exception.
"""
exc_type, exc_value = exc_info[:2]
- if issubclass(exc_type, failures_lib.StepFailure):
+ if issubclass(exc_type, failures_lib.CompoundFailure):
+ return exc_value.ToFullMessage()
+ elif issubclass(exc_type, failures_lib.StepFailure):
return str(exc_value)
else:
return ''.join(traceback.format_exception(*exc_info))