Added initialization fault error detection

增加初始化容错检测。
This commit is contained in:
hevinci
2022-05-05 11:44:03 +08:00
parent cb48c672bd
commit c3c18cd555
4 changed files with 68 additions and 19 deletions

View File

@@ -104,7 +104,6 @@ namespace YooAsset
_steps = ESteps.Done;
Status = EOperationStatus.Failed;
Error = _appManifestLoader.Error;
throw new System.Exception($"FATAL : {_appManifestLoader.Error}");
}
else
{
@@ -178,7 +177,6 @@ namespace YooAsset
_steps = ESteps.Done;
Status = EOperationStatus.Failed;
Error = _appManifestLoader.Error;
throw new System.Exception($"FATAL : {_appManifestLoader.Error}");
}
else
{