diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-07-31 14:49:15 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 18:59:44 -0400 |
commit | b0ec0de2ceff089189a5a1ff999ef86d246040b6 (patch) | |
tree | ea840f481cae56b1e84022241b2a316a877b2e13 /src/SMAPI.Web/Controllers/ModsApiController.cs | |
parent | b802471dd428546c7a5d9a121f2be93425cc1cd4 (diff) | |
download | SMAPI-b0ec0de2ceff089189a5a1ff999ef86d246040b6.tar.gz SMAPI-b0ec0de2ceff089189a5a1ff999ef86d246040b6.tar.bz2 SMAPI-b0ec0de2ceff089189a5a1ff999ef86d246040b6.zip |
fix does-not-exist errors suppressed due to recent changes (#651)
Diffstat (limited to 'src/SMAPI.Web/Controllers/ModsApiController.cs')
-rw-r--r-- | src/SMAPI.Web/Controllers/ModsApiController.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/SMAPI.Web/Controllers/ModsApiController.cs b/src/SMAPI.Web/Controllers/ModsApiController.cs index b22dc258..a7398eee 100644 --- a/src/SMAPI.Web/Controllers/ModsApiController.cs +++ b/src/SMAPI.Web/Controllers/ModsApiController.cs @@ -141,8 +141,7 @@ namespace StardewModdingAPI.Web.Controllers ModInfoModel data = await this.GetInfoForUpdateKeyAsync(updateKey); if (data.Error != null) { - if (data.Status != RemoteModStatus.DoesNotExist) - errors.Add(data.Error); + errors.Add(data.Error); continue; } |