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 855cd0c..e97a5f6 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