From 49899d0deeaba902669685e93848412425b288b9 Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Sun, 22 May 2016 12:48:40 -0400 Subject: [PATCH] trace error in die_with_io_error --- parity/die.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parity/die.rs b/parity/die.rs index dfa9ff5ca..c38b041f3 100644 --- a/parity/die.rs +++ b/parity/die.rs @@ -39,6 +39,8 @@ pub fn die_with_error(module: &'static str, e: ethcore::error::Error) -> ! { } pub fn die_with_io_error(module: &'static str, e: std::io::Error) -> ! { + trace!(target: module, "{:?}", e); + match e.kind() { std::io::ErrorKind::PermissionDenied => { die!("{}: No permissions to bind to specified port.", module)