From 0ee881e6a38c34b15005df759e411dcc7e29eea5 Mon Sep 17 00:00:00 2001 From: mibac138 <5672750+mibac138@users.noreply.github.com> Date: Wed, 17 Dec 2025 11:54:14 +0100 Subject: [PATCH 1/2] Include reason why log file could not be added to the desync report --- Source/Client/Desyncs/LogGenerator.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/Client/Desyncs/LogGenerator.cs b/Source/Client/Desyncs/LogGenerator.cs index 4a615e92..ff441c0a 100644 --- a/Source/Client/Desyncs/LogGenerator.cs +++ b/Source/Client/Desyncs/LogGenerator.cs @@ -35,12 +35,10 @@ internal static string PrepareLogData() return logSection; } - catch + catch(Exception e) { - // ignored + return $"Failed to generate log data: {e}"; } - - return null; } private static string NormalizeLineEndings(string log) From 8f7766ee0675cb0df7e1853ee1c8c6cd41a370e3 Mon Sep 17 00:00:00 2001 From: mibac138 <5672750+mibac138@users.noreply.github.com> Date: Wed, 21 Jan 2026 00:57:07 +0100 Subject: [PATCH 2/2] Add newline before the exception --- Source/Client/Desyncs/LogGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Client/Desyncs/LogGenerator.cs b/Source/Client/Desyncs/LogGenerator.cs index ff441c0a..192bb311 100644 --- a/Source/Client/Desyncs/LogGenerator.cs +++ b/Source/Client/Desyncs/LogGenerator.cs @@ -37,7 +37,7 @@ internal static string PrepareLogData() } catch(Exception e) { - return $"Failed to generate log data: {e}"; + return $"Failed to generate log data: \n{e}"; } }