Improved exception handling

This commit is contained in:
Thorsten Sommer 2025-06-28 23:07:15 +02:00
parent e67cb7ed38
commit 3835f1db1e
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -44,7 +44,7 @@ public sealed partial class RustService
}
catch (JsonException)
{
resultBuilder.Append(string.Empty);
this.logger?.LogError("Failed to deserialize SSE event: {JsonContent}", jsonContent);
}
}