Skip to content

Commit

Permalink
refactor: log error
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Feb 28, 2022
1 parent 59c490d commit 2283f63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doppelgaenger-input/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ impl Processor {
}
}
Err(err) if !err.is_temporary() => {
log::info!("Dropping event with permanent error: {}", err);
if let Err(err) = self.consumer.commit_message(&msg.0, CommitMode::Async) {
log::info!("Failed to ack: {err}");
break;
Expand Down

0 comments on commit 2283f63

Please sign in to comment.