Skip to content

Extract API error logic to helper#814

Merged
kytrinyx merged 1 commit intomasterfrom
decode-api-error
Feb 26, 2019
Merged

Extract API error logic to helper#814
kytrinyx merged 1 commit intomasterfrom
decode-api-error

Conversation

@kytrinyx
Copy link
Copy Markdown
Member

The submit command handles API errors correctly.

We need to be able to share this logic so we can stop swallowing errors in other commands.

This adds a default error message that we can fall back to if the API doesn't return a message.

This change was made by @jdsutherland as part of #756.

The submit command handles API errors correctly. We need to be
able to share this logic so we can stop swallowing errors in
other commands.
@kytrinyx
Copy link
Copy Markdown
Member Author

I'm going to go ahead and merge this when the build goes green, so that we can use it in other PRs.

@kytrinyx kytrinyx merged commit b649e75 into master Feb 26, 2019
@kytrinyx kytrinyx deleted the decode-api-error branch February 26, 2019 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants