mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-06-05 18:03:09 +03:00
Log error when reading Discord settings fails
This commit is contained in:
parent
18f5823f2a
commit
ae8a34f938
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user