mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2026-11-22 03:07:00 +03:00
Log error when reading Discord settings fails
This commit is contained in:
1 file changed
+3
-1
@@ -40,7 +40,9 @@ static class DiscordAppSettings {
|
||||
public static async Task<bool?> AreDevToolsEnabled() {
|
||||
try {
|
||||
return AreDevToolsEnabled(await ReadSettingsJson());
|
||||
} catch (Exception) {
|
||||
} catch (Exception e) {
|
||||
Log.Error("Cannot read settings file.");
|
||||
Log.Error(e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user