Browse Source

Fix log404

mscherer 1 year ago
parent
commit
67063a935a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/Error/ErrorHandlerTrait.php

+ 3 - 3
src/Error/ErrorHandlerTrait.php

@@ -26,7 +26,7 @@ use Psr\Http\Message\ServerRequestInterface;
 use Throwable;
 
 /**
- * @property array $_options
+ * @property array $_config
  */
 trait ErrorHandlerTrait {
 
@@ -74,8 +74,8 @@ trait ErrorHandlerTrait {
 	 */
 	protected function is404(Throwable $exception, ?ServerRequestInterface $request = null): bool {
 		$blacklist = static::$blacklist;
-		if (isset($this->_options['log404'])) {
-			$blacklist = (array)$this->_options['log404'];
+		if (isset($this->_config['log404'])) {
+			$blacklist = (array)$this->_config['log404'];
 		}
 		if (!$blacklist) {
 			return false;