Skip to content

Commit

Permalink
Code improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Wappler committed Oct 25, 2019
1 parent 9dc82ec commit d54a7f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classes/Hooks/RenderPreProcessorHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

use TYPO3\CMS\Core\Cache\Backend\FileBackend;
use TYPO3\CMS\Core\Cache\CacheManager;
use TYPO3\CMS\Core\Log\Logger;
use TYPO3\CMS\Core\Page\PageRenderer;
use TYPO3\CMS\Core\Utility\DebugUtility;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
Expand Down Expand Up @@ -187,7 +188,7 @@ public function renderPreProcessorProc(&$params, PageRenderer $pagerenderer)
} catch (\Exception $ex) {
DebugUtility::debug($ex->getMessage());

/** @var $logger \TYPO3\CMS\Core\Log\Logger */
/** @var $logger Logger */
$logger = GeneralUtility::makeInstance(LogManager::class)->getLogger(__CLASS__);
$logger->error($ex->getMessage());
}
Expand Down

0 comments on commit d54a7f4

Please sign in to comment.