aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/servo/post_build_commands.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py
index 1d37cc3211a..927b425efe8 100644
--- a/python/servo/post_build_commands.py
+++ b/python/servo/post_build_commands.py
@@ -80,6 +80,9 @@ class MachCommands(CommandBase):
try:
subprocess.check_call(args, env=env)
+ except subprocess.CalledProcessError as e:
+ print("Servo exited with return value %d" % e.returncode)
+ return e.returncode
except OSError as e:
if e.errno == 2:
print("Servo Binary can't be found! Run './mach build'"