Skip to content

Commit eaa2dab

Browse files
committed
Fix E_NOTICE with ControllerNotFoundException
1 parent d762f9d commit eaa2dab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Exceptions/ControllerNotFoundException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class ControllerNotFoundException extends BNETDocsException {
1010

1111
public function __construct($controllerName, Exception &$prev_ex = null) {
1212
parent::__construct("Unable to find a suitable controller given the path", 2, $prev_ex);
13-
Logger::logMetric("controllerName", $className);
13+
Logger::logMetric("controllerName", $controllerName);
1414
$this->httpResponseCode = 404;
1515
}
1616

0 commit comments

Comments
 (0)