Skip to content

Commit

Permalink
Merge pull request #1669 from pkuehnel/fix/FleetTelemetryDisconnects
Browse files Browse the repository at this point in the history
feat(FleetTelemetryWebSocketService): Improve logging why fleet telemetry disconnects
  • Loading branch information
pkuehnel authored Dec 5, 2024
2 parents 81bb282 + 2131dca commit f941fe3
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 f941fe3

Please sign in to comment.