[MSW] Uncaught exception in the request handler for "%s %s":
${parsedBody.location}
This exception has been gracefully handled as a 500 response, however, it's strongly recommended to resolve this error, as it indicates a mistake in your code. If you wish to mock an error response, please see this guide: https://mswjs.io/docs/recipes/mocking-error-responses\
'[MSW] Successfully emulated a network error for the "%s %s" request.',
'[MSW] Successfully emulated a network error for the "%s %s" request.',
request.method,
request.method,
request.url,
request.url,
)
)
return
return
}
}
// At this point, any exception indicates an issue with the original request/response.
// At this point, any exception indicates an issue with the original request/response.
console.error(
console.error(
`\
`\
[MSW] Caught an exception from the "%s %s" request (%s). This is probably not a problem with Mock Service Worker. There is likely an additional logging output above.`,
[MSW] Caught an exception from the "%s %s" request (%s). This is probably not a problem with Mock Service Worker. There is likely an additional logging output above.`,