in src/Libs/Common/BlobLoggerProvider.cs [154:178]
private async Task WriteBlobAsync(MemoryStream ms)
{
while (true)
{
try
{
#pragma warning disable CS8602 // Dereference of a possibly null reference.
await _current.AppendBlockAsync(ms);
#pragma warning restore CS8602 // Dereference of a possibly null reference.
return;
}
catch (Exception)
{
}
try
{
await EnsureBlobAsync(DateTime.UtcNow);
}
catch (Exception)
{
// Abandon current logs.
return;
}
}
}