diff --git a/src/Services/LightningService.cs b/src/Services/LightningService.cs index 429e6254..108def48 100644 --- a/src/Services/LightningService.cs +++ b/src/Services/LightningService.cs @@ -614,6 +614,10 @@ public async Task OpenChannel(ChannelOperationRequest channelOperationRequest) // TODO: Make exception message pretty throw new RemoteCanceledFundingException(e.Message); } + if (e.Message.Contains("is not online")) + { + throw new PeerNotOnlineException($"$peer {destination.PubKey} is not online"); + } throw; } }