Skip to content

Commit 6ebf76d

Browse files
authored
feat: Trace log heartbeat (#127)
1 parent 2d3bfc6 commit 6ebf76d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/EventSourcingDb/Client.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ public async IAsyncEnumerable<Event> ObserveEventsAsync(
350350
line.ThrowIfNotExpectedError();
351351
throw new Exception(line.Payload.GetString() ?? "unknown error");
352352
case "heartbeat":
353+
_logger.LogTrace("Heartbeat received.");
353354
continue;
354355
default:
355356
throw new Exception($"Failed to handle unsupported line type '{line.Type}'.");

0 commit comments

Comments
 (0)