mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Emoji preset message: log exception properly
This commit is contained in:
parent
2bd3ef5536
commit
a7f5bd5956
@ -1195,7 +1195,8 @@ namespace Bloxstrap
|
|||||||
}
|
}
|
||||||
catch (HttpRequestException ex)
|
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);
|
Frontend.ShowMessageBox(string.Format(Strings.Bootstrapper_EmojiPresetFetchFailed, App.Settings.Prop.EmojiType), MessageBoxImage.Warning);
|
||||||
App.Settings.Prop.EmojiType = EmojiType.Default;
|
App.Settings.Prop.EmojiType = EmojiType.Default;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user