X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fconsole%2Fclass_ConsoleTools.php;h=e97a5f6e5a21647bc84a530c942d5c77f4e4916c;hp=855cd0c3bb36d8d04f226c5ce64387a8e0d7aaec;hb=5bf22e282d21c7490625fc0e54bc0cd23679cfa7;hpb=3b2625fbb043e29befd64394d9c90ab3a04e218d diff --git a/inc/classes/main/console/class_ConsoleTools.php b/inc/classes/main/console/class_ConsoleTools.php index 855cd0c3..e97a5f6e 100644 --- a/inc/classes/main/console/class_ConsoleTools.php +++ b/inc/classes/main/console/class_ConsoleTools.php @@ -71,7 +71,13 @@ class ConsoleTools extends BaseFrameworkSystem { )); } } catch (FrameworkException $e) { - // Do nothing here + // Output debug message + $helper->debugOutput(sprintf("[%s:] Problem while resolving own IP address: [%s|%s]:%s", + $helper->__toString(), + $e->__toString(), + $e->getHexCode(), + $e->getMessage() + )); } // Return the IP address