Return a 500 Internal Server Error when the Python handler raises an error
Motivation and Context
When (Python) code raises an error, AWS Lambda returns a 500 with a generic JSON response.
With this change the behaviour of Serverless Offline is more inline with AWS Lambda.
Description
Return a 500 Internal Server Error when the Python handler raises an error
Motivation and Context
When (Python) code raises an error, AWS Lambda returns a 500 with a generic JSON response. With this change the behaviour of Serverless Offline is more inline with AWS Lambda.
How Has This Been Tested?
Added an automated test for Python.
Screenshots (if appropriate):