bnjmnt4n/hledger-prices

Switch to channels for handling individual errors

bnjmnt4n opened this issue · 0 comments

Right now, a single error in fetching one of the stock prices/exchange rates will be propagated out of the function, leading to failure to display the other prices/rates (even if they have already been fetched).

A workaround would be to use channels to propagate the fetched data and errors.