Added a partial stack trace to the error response for unexpected exceptions in the web-api.