mirror of
https://github.com/elyby/accounts.git
synced 2025-01-26 21:42:14 +05:30
Убрано лишнее звено в вызове имени исключения
This commit is contained in:
parent
1023eed03b
commit
147c84f487
@ -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(),
|
||||
];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user