Skip to content

Commit f24092e

Browse files
authoredMar 11, 2025··
Switch SMAPI API failures to warnings to avoid spamming users with the Exception dialog. (#2833)
1 parent 0302769 commit f24092e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Games/NexusMods.Games.StardewValley/WebAPI/SMAPIWebApi.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public async Task<IReadOnlyDictionary<string, SMAPIWebApiMod>> GetModDetails(
7070
}
7171
catch (Exception e)
7272
{
73-
_logger.LogError(e, "Exception contacting {Url}", ApiBaseUrl);
73+
_logger.LogWarning(e, "Exception contacting {Url}", ApiBaseUrl);
7474
}
7575

7676
if (apiResult is not null)

0 commit comments

Comments
 (0)
Please sign in to comment.