Permalink
Browse files

fix(grpc): ensure connection errors show onscreen

Fix an issue that was preventing grpc connection errors from showing
after a failed connection to a remote node.

Re-throw the error from `startLightningWallet` after logging it so that
it can be handled properly afterwards.
  • Loading branch information...
mrfelton committed Sep 4, 2018
1 parent fac45c9 commit 9117004a0ffa289c1ea47377fe192fe578200dc1
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/lib/zap/controller.js
@@ -284,6 +284,7 @@ class ZapController {
this.sendMessage('lightningGrpcActive')
} catch (err) {
mainLog.warn('Unable to connect to Lighitnng gRPC interface: %o', err)
throw err
}
}

0 comments on commit 9117004

Please sign in to comment.