Skip to content

Commit 67063a9

Browse files
committed
Fix log404
1 parent 1833065 commit 67063a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Error/ErrorHandlerTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
use Throwable;
2727

2828
/**
29-
* @property array $_options
29+
* @property array $_config
3030
*/
3131
trait ErrorHandlerTrait {
3232

@@ -74,8 +74,8 @@ trait ErrorHandlerTrait {
7474
*/
7575
protected function is404(Throwable $exception, ?ServerRequestInterface $request = null): bool {
7676
$blacklist = static::$blacklist;
77-
if (isset($this->_options['log404'])) {
78-
$blacklist = (array)$this->_options['log404'];
77+
if (isset($this->_config['log404'])) {
78+
$blacklist = (array)$this->_config['log404'];
7979
}
8080
if (!$blacklist) {
8181
return false;

0 commit comments

Comments
 (0)