mirror of
https://github.com/elyby/accounts.git
synced 2025-02-24 03:37:34 +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) {
|
public function convertExceptionToArray($exception) {
|
||||||
if ($exception instanceof AuthserverException) {
|
if ($exception instanceof AuthserverException) {
|
||||||
return [
|
return [
|
||||||
'error' => $this->getExceptionName($exception),
|
'error' => $exception->getName(),
|
||||||
'errorMessage' => $exception->getMessage(),
|
'errorMessage' => $exception->getMessage(),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user