SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

Show friendly update-check error when no connection is available

Pathoschild opened this issue ยท 1 comments

commented

@KoihimeNakamura reports that SMAPI throws errors during update checks if no connection is available. Make sure a friendly error is shown instead.

commented

SMAPI currently shows a friendly WARN message followed by the error details in a DEBUG message. When the connection is offline, that results in scary stack traces:

I changed it to detect routine connection errors, and only show the error message instead:

image

Done in develop for the upcoming SMAPI 2.1 release.