leifarriens/http-error-emulator

Serverless function returns default error page on code 404 & 500

Opened this issue · 0 comments

When using any of the allowed http methods with status code 404 or 500 the serverless function returns with the default error page instead of the custom handler.