Catch websockets exceptions

This commit is contained in:
nicolas.dorier
2019-10-23 16:11:20 +09:00
parent 93cdbf7a1a
commit 2249ee195a
2 changed files with 2 additions and 1 deletions

View File

@@ -358,6 +358,7 @@ namespace BTCPayServer.Controllers
break;
}
}
catch(WebSocketException) { }
finally
{
leases.Dispose();