Debugging continued:
[core.git] / inc / main / classes / menu / class_BaseMenu.php
index 5ce3f3fcf649de3a1a14b9bcd4d602f8b8f8a20b..fb309963cb7be42f42f50e74590187cb67da0db3 100644 (file)
@@ -71,7 +71,7 @@ class BaseMenu extends BaseFrameworkSystem {
                        $templateInstance->loadMenuTemplate($command . '_menu_entries');
                } catch (FileNotFoundException $e) {
                        // Log exception @TODO Maybe to intrusive?
-                       self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: Exception caught: ' . $e->__toString() . ', with message: ' . $e->getMessage());
+                       self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: Exception caught: ' . $e->__toString() . ', with message: ' . $e->getMessage());
                }
 
                // Render template data here