Emoji preset message: log exception properly

This commit is contained in:
pizzaboxer 2024-05-05 11:54:07 +01:00 committed by GitHub
parent 2bd3ef5536
commit a7f5bd5956
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1195,7 +1195,8 @@ namespace Bloxstrap
}
catch (HttpRequestException ex)
{
App.Logger.WriteLine(LOG_IDENT, $"Failed to fetch emoji preset from Github: {ex}");
App.Logger.WriteLine(LOG_IDENT, $"Failed to fetch emoji preset from Github");
App.Logger.WriteException(LOG_IDENT, ex);
Frontend.ShowMessageBox(string.Format(Strings.Bootstrapper_EmojiPresetFetchFailed, App.Settings.Prop.EmojiType), MessageBoxImage.Warning);
App.Settings.Prop.EmojiType = EmojiType.Default;
}