After using the examples in this guide, I realized that when LND terminated unexpectedly it resulted in an unhandled error that killed my application. I think adding this example of handling the error event from subscribeInvoices would be helpful and make this guide more complete.
After using the examples in this guide, I realized that when LND terminated unexpectedly it resulted in an unhandled error that killed my application. I think adding this example of handling the
error
event fromsubscribeInvoices
would be helpful and make this guide more complete.