-
Notifications
You must be signed in to change notification settings - Fork 239
Closed as not planned
Labels
unactionableThere is no logical action to take with this issueThere is no logical action to take with this issueworking as designedThis is working as intendedThis is working as intended
Description
Application crashes after calling an HTTP endpoint without expected JSON input.
error: Uncaught (in promise) BadRequestError: Unexpected end of JSON input
return new errors[Status[status] as ErrorStatusKeys](message, options);
^
at createHttpError (https://jsr.io/@oak/commons/0.11.0/http_errors.ts:211:10)
at Body.json (https://deno.land/x/oak@v16.1.0/body.ts:152:15)
at eventLoopTick (ext:core/01_core.js:168:7)
Wrapping it into another middleware doesn't work.
Metadata
Metadata
Assignees
Labels
unactionableThere is no logical action to take with this issueThere is no logical action to take with this issueworking as designedThis is working as intendedThis is working as intended