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

This reverts commit 80edfefdb1.
This commit is contained in:
2022-05-09 03:40:54 +09:00
parent 194f2bd2a5
commit fa5919aa1a
10 changed files with 14 additions and 24 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class APIHelper
try {
$rawInput = file_get_contents('php://input');
$input = Json::decode($rawInput);
} catch (\Throwable $e) {
} catch (\Exception $e) {
Json::dieWithReason($e->getMessage());
$input = null;
}