Skip to content

Commit

Permalink
fix error handling in consumer task
Browse files Browse the repository at this point in the history
  • Loading branch information
feschber committed Jan 23, 2024
1 parent 006831b commit 82926d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/server/consumer_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ pub fn new(
None => break,
}
}
_ = consumer.dispatch() => { }
res = consumer.dispatch() => {
res?;
}
}
}

Expand Down

0 comments on commit 82926d8

Please sign in to comment.