Skip to content

Commit

Permalink
Merge pull request #5 from angelobreuer/dev
Browse files Browse the repository at this point in the history
Update to dev branch
  • Loading branch information
NycroV authored Aug 14, 2024
2 parents 598262d + e01651a commit 9646122
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: dotnet restore src/Lavalink4NET.sln

- name: Build
run: dotnet build src/Lavalink4NET.sln --no-restore --configuration ${{ matrix.configuration }} /property:Version=4.0.20
run: dotnet build src/Lavalink4NET.sln --no-restore --configuration ${{ matrix.configuration }} /property:Version=4.0.21

- name: Run tests
working-directory: ci
Expand Down
6 changes: 5 additions & 1 deletion src/Lavalink4NET/Socket/LavalinkSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@ private async Task ReceiveInternalAsync(WebSocket webSocket, Memory<byte> receiv
await ProcessAsync(buffer, cancellationToken).ConfigureAwait(false);
}
}
catch (OperationCanceledException)
{
// Ignore
}
catch (Exception exception)
{
_logger.CommunicationError(Label, exception);
Expand Down Expand Up @@ -314,4 +318,4 @@ internal static partial class Logging

[LoggerMessage(6, LogLevel.Warning, "[{Label}] An error occurred while dispatching the ConnectionClosed event.", EventName = nameof(ErrorConnectionClosedEvent))]
public static partial void ErrorConnectionClosedEvent(this ILogger<LavalinkSocket> logger, string label, Exception exception);
}
}

0 comments on commit 9646122

Please sign in to comment.