summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Controllers/ModsApiController.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-07-31 14:49:15 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 18:59:44 -0400
commitb0ec0de2ceff089189a5a1ff999ef86d246040b6 (patch)
treeea840f481cae56b1e84022241b2a316a877b2e13 /src/SMAPI.Web/Controllers/ModsApiController.cs
parentb802471dd428546c7a5d9a121f2be93425cc1cd4 (diff)
downloadSMAPI-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.cs3
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;
}