remove obsoletes

This commit is contained in:
runette committed 2024-12-10 16:07:25 +00:00
1 parent 4b2c383ca5
commit 088742f710
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -257,7 +257,7 @@ namespace Mapbox.Platform
// additional string.empty check for apiResponse.error:
// on UWP isNetworkError is sometimes set to true despite all being well
if (apiResponse.isNetworkError && !string.IsNullOrEmpty(apiResponse.error))
if (apiResponse.result == UnityWebRequest.Result.ConnectionError && !string.IsNullOrEmpty(apiResponse.error))
{
response.AddException(new Exception(apiResponse.error));
}