mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Print backtraces for panics, even if the constellation has closed.
This commit is contained in:
parent
0f1a9f109d
commit
341b9de43b
2 changed files with 12 additions and 5 deletions
|
@ -1090,7 +1090,7 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
|
|||
if opts::get().hard_fail {
|
||||
// It's quite difficult to make Servo exit cleanly if some threads have failed.
|
||||
// Hard fail exists for test runners so we crash and that's good enough.
|
||||
println!("Pipeline failed in hard-fail mode. Crashing!\n{}\n{}", reason, backtrace.unwrap_or_default());
|
||||
println!("Pipeline failed in hard-fail mode. Crashing!");
|
||||
process::exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue