Убрано лишнее звено в вызове имени исключения

This commit is contained in:
ErickSkrauch 2016-08-31 13:35:43 +03:00
parent 1023eed03b
commit 147c84f487

View File

@ -8,7 +8,7 @@ class ErrorHandler extends \yii\web\ErrorHandler {
public function convertExceptionToArray($exception) {
if ($exception instanceof AuthserverException) {
return [
'error' => $this->getExceptionName($exception),
'error' => $exception->getName(),
'errorMessage' => $exception->getMessage(),
];
}