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] 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)