diff --git a/parity/main.rs b/parity/main.rs index bb9f5e743d6..454d2c16dca 100644 --- a/parity/main.rs +++ b/parity/main.rs @@ -117,6 +117,8 @@ fn start() -> Result { } fn main() { + // Always print backtrace on panic. + ::std::env::set_var("RUST_BACKTRACE", "1"); // just redirect to the sync::main() if std::env::args().nth(1).map_or(false, |arg| arg == "sync") { sync::main();