Skip to content

Commit ede0011

Browse files
s8200gbrmagadutra
authored andcommitted
feat: Exit infinite loop when Exception is thrown.
1 parent 2826d37 commit ede0011

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/KafkaFlow/Consumers/Consumer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ public async ValueTask<ConsumeResult<byte[], byte[]>> ConsumeAsync(CancellationT
205205
catch (Exception ex)
206206
{
207207
_logHandler.Error("Kafka Consumer Error", ex, null);
208+
throw;
208209
}
209210
finally
210211
{

0 commit comments

Comments
 (0)