diff --git a/api/test.php b/api/test.php index 864f638..792857b 100644 --- a/api/test.php +++ b/api/test.php @@ -31,7 +31,8 @@ try { $API->$method(); } catch (Throwable $e) { - CJson::create(['status' => 'fail', 'message' => 'Метод '.$method.' не найден']); + echo CJson::create(['status' => 'fail', 'message' => 'Метод '.$method.' не найден']); + die(); } \ No newline at end of file