Handle errors when no path is found
Opened this issue · 0 comments
emschwartz commented
The sender should return a specific error when you try to execute a payment where there is no path. Right now if you use the default exported function from the sender you get a Cannot read property 'forEach' of undefined
error because _subpayments
is undefined here