From a7f5bd5956ec6cf50079994bd16f463435e7bf55 Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Sun, 5 May 2024 11:54:07 +0100 Subject: [PATCH] Emoji preset message: log exception properly --- Bloxstrap/Bootstrapper.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index b5758ae..8cf712f 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -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; }