mirror of
https://github.com/elyby/accounts.git
synced 2026-10-20 20:58:03 +05:30
Убрано лишнее звено в вызове имени исключения
This commit is contained in:
1 parent
1023eed03b
commit
147c84f487
1 file changed
+1
-1
@@ -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(),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user