Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 16550f6

Browse files
Merge pull request #2 from Runpath/develop
1.0.1
2 parents aab5ddf + bafccde commit 16550f6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

‎src/Runpath.Extensions.Logging.AzureEventHubs/DefaultAzureEventHubsLoggerProcessor.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,14 @@ private async Task TrySendAsync(EventDataBatch eventDataBatch)
9595

9696
public void Dispose()
9797
{
98-
this.channel.Writer.Complete();
98+
try
99+
{
100+
this.channel.Writer.Complete();
101+
}
102+
catch (ChannelClosedException)
103+
{
104+
// ignored
105+
}
99106

100107
this.optionsReloadToken?.Dispose();
101108
}

‎src/Runpath.Extensions.Logging.AzureEventHubs/Runpath.Extensions.Logging.AzureEventHubs.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Company>Runpath Digital</Company>
88
<Authors>Runpath Digital</Authors>
99
<Description>Azure Event Hubs logger provider implementation for Microsoft.Extensions.Logging.</Description>
10-
<Version>1.0.0</Version>
10+
<Version>1.0.1</Version>
1111
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1212
<PackageTags>logging azure event hubs</PackageTags>
1313
<PackageProjectUrl>https://github.com/Runpath/Runpath.Extensions.Logging.AzureEventHubs</PackageProjectUrl>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /