trace error in die_with_io_error

This commit is contained in:
Robert Habermeier 2016-05-22 12:48:40 -04:00
parent 6fb54f4c9d
commit 49899d0dee

View File

@ -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) -> ! { pub fn die_with_io_error(module: &'static str, e: std::io::Error) -> ! {
trace!(target: module, "{:?}", e);
match e.kind() { match e.kind() {
std::io::ErrorKind::PermissionDenied => { std::io::ErrorKind::PermissionDenied => {
die!("{}: No permissions to bind to specified port.", module) die!("{}: No permissions to bind to specified port.", module)