Skip to content

Commit 5f26801

Browse files
authored
Include reason why log file could not be added to the desync report (#804)
* Include reason why log file could not be added to the desync report * Add newline before the exception
1 parent 7cc75bd commit 5f26801

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Source/Client/Desyncs/LogGenerator.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@ internal static string PrepareLogData()
3535

3636
return logSection;
3737
}
38-
catch
38+
catch(Exception e)
3939
{
40-
// ignored
40+
return $"Failed to generate log data: \n{e}";
4141
}
42-
43-
return null;
4442
}
4543

4644
private static string NormalizeLineEndings(string log)

0 commit comments

Comments
 (0)