mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
fix exception printing
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
f22faaefeb
commit
90130b5492
1 changed files with 2 additions and 2 deletions
|
@ -410,7 +410,7 @@ namespace net
|
||||||
}
|
}
|
||||||
catch (std::exception& ex)
|
catch (std::exception& ex)
|
||||||
{
|
{
|
||||||
LogPrint(eLogError, "NetIface: Exception while searching address using ifaddr: ", ex);
|
LogPrint(eLogError, "NetIface: Exception while searching address using ifaddr: ", ex.what());
|
||||||
}
|
}
|
||||||
|
|
||||||
if(addrs) freeifaddrs(addrs);
|
if(addrs) freeifaddrs(addrs);
|
||||||
|
@ -511,7 +511,7 @@ namespace net
|
||||||
}
|
}
|
||||||
catch (std::exception& ex)
|
catch (std::exception& ex)
|
||||||
{
|
{
|
||||||
LogPrint(eLogError, "NetIface: Exception while searching Yggdrasill address using ifaddr: ", ex);
|
LogPrint(eLogError, "NetIface: Exception while searching Yggdrasill address using ifaddr: ", ex.what());
|
||||||
}
|
}
|
||||||
LogPrint(eLogWarning, "NetIface: Interface with Yggdrasil network address not found");
|
LogPrint(eLogWarning, "NetIface: Interface with Yggdrasil network address not found");
|
||||||
if(addrs) freeifaddrs(addrs);
|
if(addrs) freeifaddrs(addrs);
|
||||||
|
|
Loading…
Add table
Reference in a new issue