mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
User-friendly error message if checking for updates fails (fixes #966)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
- Fix tests from last change
|
||||
- Migrate to public domain CICM implementation
|
||||
- Relicense from GPLv3 to MIT
|
||||
- User-friendly error message if checking for updates fails
|
||||
|
||||
### 3.7.1 (2026-03-30)
|
||||
|
||||
|
||||
@@ -560,10 +560,10 @@ namespace MPF.Frontend.Tools
|
||||
different = version != tag && tag is not null;
|
||||
message = $"Local version: {version}{Environment.NewLine}Remote version: {tag}";
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
different = false;
|
||||
message = ex.ToString();
|
||||
message = "An error occurred while checking for versions"; // ex.ToString();
|
||||
url = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user