Skip to content

Commit

Permalink
refactor(read_handler): change log from error to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
RoloEdits committed Oct 25, 2024
1 parent 9395695 commit 667cbd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amqprs/src/net/reader_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ impl ReaderHandler {

// should call self.io_failure_notify.notify_one();?
#[cfg(feature="traces")]
error!("missing heartbeat from server for {}", self.amqp_connection);
warn!("missing heartbeat from server for {}", self.amqp_connection);

Check warning on line 294 in amqprs/src/net/reader_handler.rs

View check run for this annotation

Codecov / codecov/patch

amqprs/src/net/reader_handler.rs#L294

Added line #L294 was not covered by tests
heartbeat_miss += 1;
if heartbeat_miss >= MAX_HEARTBEAT_MISS {
#[cfg(feature="traces")]
Expand Down

0 comments on commit 667cbd8

Please sign in to comment.