Skip to content

Commit

Permalink
feat(FleetTelemetryWebSocketService): Improve logging why fleet telem…
Browse files Browse the repository at this point in the history
…etry disconnects
  • Loading branch information
pkuehnel committed Dec 5, 2024
1 parent 81bb282 commit 2131dca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ await existingClient.WebSocketClient.SendAsync(segment, WebSocketMessageType.Tex
continue;
}

logger.LogInformation("Websocket Client for car {vin} is not open or last heartbeat is too old. Disposing client", car.Vin);
logger.LogInformation("Websocket Client State for car {vin} is {state}, last heartbeat is {lastHeartbeat} while earliest Possible Heartbeat is {earliestPossibleHeartbeat}. Disposing client", car.Vin, existingClient.WebSocketClient.State, existingClient.LastReceivedHeartbeat, earliestPossibleLastHeartbeat);
existingClient.WebSocketClient.Dispose();
Clients.Remove(existingClient);
}
Expand Down

0 comments on commit 2131dca

Please sign in to comment.