From 744a4ec9995c64f97a320cebb68fcd257585278c Mon Sep 17 00:00:00 2001 From: fayouz Date: Thu, 11 Jun 2020 18:25:11 +0200 Subject: [PATCH] Update Config read --- Module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Module.php b/Module.php index 77a76fd..6471113 100644 --- a/Module.php +++ b/Module.php @@ -192,7 +192,7 @@ public function attachDispatchErrorHandler($event) // 404 route not found exception if ($message == Application::ERROR_ROUTER_NO_MATCH) { - if (empty($this->config['dherrorlogging']['error_types']['dispatch\router_no_match'])) { + if (empty($this->getConfig()['dherrorlogging']['error_types']['dispatch\router_no_match'])) { return; } $type = '404';