diff --git a/parity/die.rs b/parity/die.rs index 4ae6794a4..7d8c87b89 100644 --- a/parity/die.rs +++ b/parity/die.rs @@ -16,6 +16,7 @@ use std; use ethcore; +use ethcore::client::Error as ClientError; use util::UtilError; use std::process::exit; @@ -29,6 +30,7 @@ pub fn die_with_error(module: &'static str, e: ethcore::error::Error) -> ! { match e { Error::Util(UtilError::StdIo(e)) => die_with_io_error(module, e), + Error::Client(ClientError::Trace(e)) => die_with_message(&format!("{}", e)), _ => die!("{}: {:?}", module, e), } }