Skip to content

Commit

Permalink
feat: round output of error logging value
Browse files Browse the repository at this point in the history
  • Loading branch information
plaa committed Jun 30, 2024
1 parent 343634f commit ce1811a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/ship/eeHealth.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ interval(() => {
// eeHealth - maxHealthTask - epsilon <= taskHealth <= eeHealth + epsilon
if (!(eeHealth - maxHealthTask - EPSILON <= taskHealth && taskHealth <= eeHealth + EPSILON)) {
logger.error(`EE ${type} health has significant mismatch between EE and task-based status: `+
`EE shows ${eeHealth} and tasks show ${taskHealth}`);
`EE shows ${eeHealth} and tasks show ${taskHealth.toFixed(2)}`);
}
}
}, 60000);

0 comments on commit ce1811a

Please sign in to comment.