Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: safe http error response (#2438)
* safe http error when parsing body * fix tests * fix linting * fix linting * Dispatch decoding errors so hook can present them Signed-off-by: Steve Coffman <steve@khanacademy.org> * Revert test expectation to original Signed-off-by: Steve Coffman <steve@khanacademy.org> Signed-off-by: Steve Coffman <steve@khanacademy.org> Co-authored-by: Steve Coffman <steve@khanacademy.org>
- Loading branch information
1 parent
86c144f
commit 463d213
Showing
4 changed files
with
56 additions
and
20 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
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
7 changes: 4 additions & 3 deletions
7
plugin/resolvergen/testdata/filetemplate/out/schema.custom.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
7 changes: 4 additions & 3 deletions
7
plugin/resolvergen/testdata/followschema/out/schema.resolvers.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.