Skip to content

Commit

Permalink
Update message error in case of excessive drift
Browse files Browse the repository at this point in the history
  • Loading branch information
JEnoch committed Jul 3, 2024
1 parent fafdce7 commit d78fbd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ impl HLC {
let msg_time = timestamp.get_time();
if *msg_time > now && *msg_time - now > self.delta {
let err_msg = format!(
"incoming timestamp from {} exceeding delta {}ms is rejected: {} vs. now: {}",
"incoming timestamp from {} exceeding delta {}ms is rejected: {:#} vs. now: {:#}",
timestamp.get_id(),
self.delta.to_duration().as_millis(),
msg_time,
Expand Down

0 comments on commit d78fbd2

Please sign in to comment.