Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
fealebenpae committed Oct 9, 2023
1 parent 1f02fb9 commit 20ae5c7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Realm/Realm/Native/SyncSocketProvider.WebSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,20 @@ private static void FormatExceptionForLogging(Exception ex, StringBuilder builde
{
builder.Append('\t');
}

builder.AppendFormat("{0}: {1}", ex.GetType().FullName, ex.Message);
builder.AppendLine();

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Source Generation

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [D:\a\realm-dotnet\realm-dotnet\Realm\Realm\Realm.csproj::TargetFramework=net6.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Weaver (windows-latest, win-x64)

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [D:\a\realm-dotnet\realm-dotnet\Realm\Realm\Realm.csproj::TargetFramework=net6.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Weaver (windows-latest, win-x64)

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [D:\a\realm-dotnet\realm-dotnet\Realm\Realm\Realm.csproj::TargetFramework=netstandard2.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Weaver (windows-latest, win-x64)

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [D:\a\realm-dotnet\realm-dotnet\Realm\Realm\Realm.csproj::TargetFramework=net6.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Weaver (windows-latest, win-x64)

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [D:\a\realm-dotnet\realm-dotnet\Realm\Realm\Realm.csproj::TargetFramework=netstandard2.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Weaver (ubuntu-latest, linux-x64)

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [/home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.csproj::TargetFramework=net6.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Weaver (ubuntu-latest, linux-x64)

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [/home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.csproj::TargetFramework=netstandard2.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Weaver (ubuntu-latest, linux-x64)

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [/home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.csproj::TargetFramework=net6.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Weaver (ubuntu-latest, linux-x64)

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [/home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.csproj::TargetFramework=netstandard2.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Weaver (macos-latest, osx-x64)

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [/Users/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.csproj::TargetFramework=net6.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Weaver (macos-latest, osx-x64)

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [/Users/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.csproj::TargetFramework=netstandard2.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Weaver (macos-latest, osx-x64)

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [/Users/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.csproj::TargetFramework=net6.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Weaver (macos-latest, osx-x64)

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [/Users/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.csproj::TargetFramework=netstandard2.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Package / NuGet

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [D:\a\realm-dotnet\realm-dotnet\Realm\Realm\Realm.csproj::TargetFramework=netstandard2.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Package / NuGet

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [D:\a\realm-dotnet\realm-dotnet\Realm\Realm\Realm.csproj::TargetFramework=net6.0]

Check warning on line 192 in Realm/Realm/Native/SyncSocketProvider.WebSocket.cs

View workflow job for this annotation

GitHub Actions / Test / Code Coverage

Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md) [/home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.csproj::TargetFramework=net6.0]
if (Logger.LogLevel >= LogLevel.Trace && !string.IsNullOrEmpty(ex.StackTrace))
{
for (int i = 0; i <= nesting; i++)
{
builder.Append('\t');
}

builder.AppendLine(ex.StackTrace);
}

if (ex is AggregateException aggregateException)
{
foreach (var inner in aggregateException.InnerExceptions)
Expand All @@ -207,7 +211,6 @@ private static void FormatExceptionForLogging(Exception ex, StringBuilder builde
{
FormatExceptionForLogging(inner, builder, nesting + 1);
}

}
}

Expand Down

0 comments on commit 20ae5c7

Please sign in to comment.