]> git.mxchange.org Git - core.git/blobdiff - inc/main/classes/menu/class_BaseMenu.php
Debugging continued:
[core.git] / inc / main / classes / menu / class_BaseMenu.php
index 90da4c37f2efd6ab5285b8c308a026261f8c24bb..fb309963cb7be42f42f50e74590187cb67da0db3 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Menu;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Object\BaseFrameworkSystem;
 use CoreFramework\Template\CompileableTemplate;
 
@@ -70,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