- $this->getTemplateInstance()->loadMenuTemplate($page . '_menu_entries');
- } catch (FileNotFoundException $e) {
- // @TODO Should we log it here? We should, because it will be silently ignored.
+ $templateInstance->loadMenuTemplate($page . '_menu_entries');
+ } catch (FileIoException $e) {
+ // Log exception @TODO Maybe to intrusive?
+ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: Exception caught: ' . $e->__toString() . ', with message: ' . $e->getMessage());