refac: 에러 핸들링 방식 변경, FatalError 대응

This commit is contained in:
Hide_D committed 2022-05-09 03:39:30 +09:00
1 parent c5345494b1
commit 80edfefdb1
10 files changed
+24 -14

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ class APIHelper
try {
$rawInput = file_get_contents('php://input');
$input = Json::decode($rawInput);
} catch (\Exception $e) {
} catch (\Throwable $e) {
Json::dieWithReason($e->getMessage());
$input = null;
}