mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Fix logs name for Events, try catch websocket closure
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp2.0</TargetFramework>
|
<TargetFramework>netcoreapp2.0</TargetFramework>
|
||||||
<Version>1.0.0.46</Version>
|
<Version>1.0.0.47</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Remove="Build\dockerfiles\**" />
|
<Compile Remove="Build\dockerfiles\**" />
|
||||||
|
|||||||
@@ -235,6 +235,7 @@ namespace BTCPayServer.Controllers
|
|||||||
await webSocket.CloseAsync(WebSocketCloseStatus.NormalClosure, "Closing", cts.Token);
|
await webSocket.CloseAsync(WebSocketCloseStatus.NormalClosure, "Closing", cts.Token);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch { }
|
||||||
finally { webSocket.Dispose(); }
|
finally { webSocket.Dispose(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace BTCPayServer.Logging
|
|||||||
{
|
{
|
||||||
Configuration = factory.CreateLogger("Configuration");
|
Configuration = factory.CreateLogger("Configuration");
|
||||||
PayServer = factory.CreateLogger("PayServer");
|
PayServer = factory.CreateLogger("PayServer");
|
||||||
Events = factory.CreateLogger("PayServer");
|
Events = factory.CreateLogger("Events");
|
||||||
}
|
}
|
||||||
public static ILogger Configuration
|
public static ILogger Configuration
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user