From 5bf22e282d21c7490625fc0e54bc0cd23679cfa7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 30 Apr 2009 19:26:58 +0000 Subject: [PATCH] catch() blocks should not be left empty --- inc/classes/main/console/class_ConsoleTools.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.5