Debugging error handler in plot_prices.