Skip to content

Commit 07f307a

Browse files
committed
Call export max retries callback the calls keep throwing exceptions
1 parent 37631f9 commit 07f307a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Elastic.Channels/BufferedChannelBase.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,10 @@ private async Task ExportBufferAsync(ArraySegment<TEvent> items, IOutboundBuffer
401401
{
402402
_callbacks.ExportExceptionCallback?.Invoke(e);
403403
if (atEndOfRetries)
404+
{
405+
_callbacks.ExportMaxRetriesCallback?.Invoke(items);
404406
break;
407+
}
405408
}
406409

407410
items = response == null

0 commit comments

Comments
 (0)