trace error in die_with_io_error
This commit is contained in:
parent
6fb54f4c9d
commit
49899d0dee
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user