Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…to dev
  • Loading branch information
angelobreuer committed Jan 19, 2024
2 parents 218aa9d + e066a24 commit 8809d36
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: NuGet Packages-${{ matrix.configuration }}
path: '**/*.nupkg'
path: '**/*.nupkg'
6 changes: 3 additions & 3 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/Lavalink4NET/LavalinkNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,11 @@ private async ValueTask ReceiveInternalAsync(ILavalinkSocket socket, Cancellatio
.ReceiveAsync(cancellationToken)
.ConfigureAwait(false);
}
catch (WebSocketException exception) when (exception.WebSocketErrorCode is WebSocketError.ConnectionClosedPrematurely)
{
_logger.ExceptionOccurredDuringCommunication(Label, exception);
break;
}
catch (Exception exception)
{
_logger.ExceptionOccurredDuringCommunication(Label, exception);
Expand Down

0 comments on commit 8809d36

Please sign in to comment.