mirror of
https://github.com/servo/servo.git
synced 2025-07-16 11:53:39 +01:00
Improve winit/mach segfault output
This commit is contained in:
parent
6fe87c985b
commit
07c1286334
2 changed files with 34 additions and 9 deletions
|
@ -169,7 +169,10 @@ class PostBuildCommands(CommandBase):
|
|||
try:
|
||||
check_call(args, env=env)
|
||||
except subprocess.CalledProcessError as e:
|
||||
print("Servo exited with return value %d" % e.returncode)
|
||||
if e.returncode < 0:
|
||||
print(f"Servo was terminated by signal {-e.returncode}")
|
||||
else:
|
||||
print(f"Servo exited with non-zero status {e.returncode}")
|
||||
return e.returncode
|
||||
except OSError as e:
|
||||
if e.errno == 2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue