Skip to content

Commit

Permalink
Add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
oysand committed Jun 23, 2024
1 parent 3e53ec5 commit 5b825b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/api/EventHandlers/MqttEventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ private async void OnIsarMissionUpdate(object? sender, MqttReceivedArgs mqttArgs
return;
}

_logger.LogInformation("After mission run {missionRunId} was completed the robot {robotName} had status {robotStatus}", updatedFlotillaMissionRun.Id, robot.Name, robot.Status);

if (updatedFlotillaMissionRun.IsReturnHomeMission() && (updatedFlotillaMissionRun.Status == MissionStatus.Cancelled || updatedFlotillaMissionRun.Status == MissionStatus.Failed))
{
try
Expand Down

0 comments on commit 5b825b3

Please sign in to comment.