Log failing attempts to start rpc server
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -323,8 +323,16 @@ namespace WalletWasabi.Gui
if (jsonRpcServerConfig.IsEnabled)
{
RpcServer = new JsonRpcServer(this, jsonRpcServerConfig);
+ try
+ {
await RpcServer.StartAsync(cancel).ConfigureAwait(false);
}
+ catch (System.Net.HttpListenerException e)
+ {
+ Logger.LogWarning($"Failed to start JsonRpcServer with error: {e.Message}.");
+ RpcServer = null;
+ }
+ }
#endregion JsonRpcServerInitialization

Log failing attempts to start rpc server