Skip to content

Commit

Permalink
Merge pull request #15 from imperviousai/skip-lightning-errors
Browse files Browse the repository at this point in the history
Skip errors with lightning connection issues
  • Loading branch information
tonyimpervious authored Sep 7, 2022
2 parents d64c82c + 8e62bbf commit 3d43455
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ func ConfigureWebsocketDIDComm(cfg config.Config, channel chan comm.IncomingDIDM
func AddLightningNodes(cfg config.Config, lnm lightning.LightningManager) error {
lndNode, err := ConfigureLightningNodes(cfg)
if err != nil {
zap.L().Panic(err.Error())
zap.L().Error("Could not connect to lightning node, skipping lightning setup...",
zap.Error(err),
)
}
if lndNode == nil {
return nil
Expand Down

0 comments on commit 3d43455

Please sign in to comment.