[Cashtab] Attempt to patch agora-crashing bug
Summary:
Difficult to say if this will fix things as I can't repeat this locally, though users are clearly affected. based on debug logs, looks like crash is caused by the toHex function being called in the OrderBook component. This is only called 4 times -- and 2 of those times are not on load, only when a function is called.
Wrap calls in try...catch and add debug log to see if this is the issue.
Test Plan: npm test
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Subscribers: Fabien
Differential Revision: https://reviews.bitcoinabc.org/D17015