catch() blocks should not be left empty
authorRoland Häder <roland@mxchange.org>
Thu, 30 Apr 2009 19:26:58 +0000 (19:26 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 30 Apr 2009 19:26:58 +0000 (19:26 +0000)
inc/classes/main/console/class_ConsoleTools.php

index 855cd0c3bb36d8d04f226c5ce64387a8e0d7aaec..e97a5f6e5a21647bc84a530c942d5c77f4e4916c 100644 (file)
@@ -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