-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: unhandled error thrown by busboy (#711)
* fix: unhandled error thrown by busboy As per, https://fetch.spec.whatwg.org/#dom-body-formdata, TypeErrors are expected to be thrown. Busboy errors were being unhandled. * chore: apply suggestions from mrbbot's code review Co-authored-by: MrBBot <me@mrbbot.dev> * fix: test for formData unsupported Content-Type header The expectations weren't included in the `throwAsync()`. --------- Co-authored-by: Bruno Nascimento <bruno.nascimento@csghq.com> Co-authored-by: MrBBot <me@mrbbot.dev>
- Loading branch information
1 parent
f919a2e
commit 1837937
Showing
2 changed files
with
59 additions
and
32 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