-
-
Notifications
You must be signed in to change notification settings - Fork 731
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from old success/error to modern then/catch structure
Catch() will get a few more errors then errors() Also, add try/catch inside catch to detect any errors parsing the response error payload
- Loading branch information
1 parent
b92e858
commit 2ce1f5b
Showing
1 changed file
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters