HomePhabricator

[Cashtab] Patch API error handling

Description

[Cashtab] Patch API error handling

Summary:
T2491

Add missing console.log statement to API call function
Add type check to result of function to catch network errors

Test Plan:
npm start
confirm this error is not thrown with normal API

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D11593

Details

Provenance
bytesofmanAuthored on Jun 8 2022, 23:21
bytesofmanPushed on Jun 9 2022, 02:54
Reviewer
Restricted Project
Differential Revision
D11593: [Cashtab] Patch API error handling
Parents
rABC31ecc32b85f5: [Automated] Update seeds
Branches
Unknown
Tags
Unknown