Skip to content

Commit

Permalink
Change pressure log to debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
andchiind committed Feb 3, 2025
1 parent c668286 commit fbe4928
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion backend/api/Services/RobotService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,12 @@ public async Task UpdateRobotBatteryState(string robotId, BatteryState? batteryS

public async Task UpdateRobotPressureLevel(string robotId, float? pressureLevel)
{
await UpdateRobotProperty(robotId, "PressureLevel", pressureLevel);
await UpdateRobotProperty(
robotId,
"PressureLevel",
pressureLevel,
isLogLevelDebug: true
);
}

private void ThrowIfRobotIsNull(Robot? robot, string robotId)
Expand Down

0 comments on commit fbe4928

Please sign in to comment.