Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge commit 'd6cad29f49ffae75c5af09a45fca788945aad772' into js
Browse files Browse the repository at this point in the history
* commit 'd6cad29f49ffae75c5af09a45fca788945aad772':
  Print backtrace on panic (#2535)
  • Loading branch information
jacogr committed Oct 8, 2016
2 parents b10f164 + d6cad29 commit 52184d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions parity/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ fn sync_main() -> bool {
}

fn main() {
// Always print backtrace on panic.
::std::env::set_var("RUST_BACKTRACE", "1");

if sync_main() {
return;
}
Expand Down

0 comments on commit 52184d1

Please sign in to comment.