Revert "refac: 에러 핸들링 방식 변경, FatalError 대응"
This reverts commit 80edfefdb1.
This commit is contained in:
1 parent
80edfefdb1
commit
e65b3beffd
10 files changed
+14
-24
No files matched your search
@@ -363,7 +363,7 @@ function setGeneralCommand(int $generalID, array $rawTurnList, string $command,
|
||||
'target'=>'arg'
|
||||
];
|
||||
}
|
||||
catch (\Throwable $e){
|
||||
catch (\Exception $e){
|
||||
return [
|
||||
'result'=>false,
|
||||
'reason'=>$e->getCode().$e->getMessage(),
|
||||
@@ -445,7 +445,7 @@ function setNationCommand(int $generalID, array $turnList, string $command, ?arr
|
||||
'target'=>'arg'
|
||||
];
|
||||
}
|
||||
catch (\Throwable $e){
|
||||
catch (\Exception $e){
|
||||
return [
|
||||
'result'=>false,
|
||||
'reason'=>$e->getCode().$e->getMessage(),
|
||||
|
||||
Reference in new issue
Block a user