{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/aws-serverless-java-container/issues/187","repository_url":"https://api.github.com/repos/awslabs/aws-serverless-java-container","labels_url":"https://api.github.com/repos/awslabs/aws-serverless-java-container/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-serverless-java-container/issues/187/comments","events_url":"https://api.github.com/repos/awslabs/aws-serverless-java-container/issues/187/events","html_url":"https://github.com/awslabs/aws-serverless-java-container/issues/187","id":352672957,"node_id":"MDU6SXNzdWUzNTI2NzI5NTc=","number":187,"title":"How to throw a springboot exception to lambda while using serverless java container","user":{"login":"dotekien","id":7859351,"node_id":"MDQ6VXNlcjc4NTkzNTE=","avatar_url":"https://avatars2.githubusercontent.com/u/7859351?v=4","gravatar_id":"","url":"https://api.github.com/users/dotekien","html_url":"https://github.com/dotekien","followers_url":"https://api.github.com/users/dotekien/followers","following_url":"https://api.github.com/users/dotekien/following{/other_user}","gists_url":"https://api.github.com/users/dotekien/gists{/gist_id}","starred_url":"https://api.github.com/users/dotekien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotekien/subscriptions","organizations_url":"https://api.github.com/users/dotekien/orgs","repos_url":"https://api.github.com/users/dotekien/repos","events_url":"https://api.github.com/users/dotekien/events{/privacy}","received_events_url":"https://api.github.com/users/dotekien/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-21T19:13:13Z","updated_at":"2018-08-21T20:08:41Z","closed_at":null,"author_association":"NONE","body":"* Framework version: any\r\n* Implementations: Spring / Spring Boot\r\n\r\n## Scenario\r\nThe exception is caught by org.springframework.boot.web.servlet.support.ErrorPageFilter.\r\nIn order to have SQS knowing that the sending message is failed, the exception needs to be caught by lambda.\r\n\r\n## Expected behavior\r\n\r\n## Actual behavior\r\n\r\n## Steps to reproduce\r\n\r\n## Full log output\r\n"},"comment":{"url":"https://api.github.com/repos/awslabs/aws-serverless-java-container/issues/comments/414804792","html_url":"https://github.com/awslabs/aws-serverless-java-container/issues/187#issuecomment-414804792","issue_url":"https://api.github.com/repos/awslabs/aws-serverless-java-container/issues/187","id":414804792,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDgwNDc5Mg==","user":{"login":"SAPessi","id":2996317,"node_id":"MDQ6VXNlcjI5OTYzMTc=","avatar_url":"https://avatars0.githubusercontent.com/u/2996317?v=4","gravatar_id":"","url":"https://api.github.com/users/SAPessi","html_url":"https://github.com/SAPessi","followers_url":"https://api.github.com/users/SAPessi/followers","following_url":"https://api.github.com/users/SAPessi/following{/other_user}","gists_url":"https://api.github.com/users/SAPessi/gists{/gist_id}","starred_url":"https://api.github.com/users/SAPessi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SAPessi/subscriptions","organizations_url":"https://api.github.com/users/SAPessi/orgs","repos_url":"https://api.github.com/users/SAPessi/repos","events_url":"https://api.github.com/users/SAPessi/events{/privacy}","received_events_url":"https://api.github.com/users/SAPessi/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T20:08:41Z","updated_at":"2018-08-21T20:08:41Z","author_association":"CONTRIBUTOR","body":"Why use SpringBoot in a Lambda function that processes SQS messages? Seems overkill. \r\n\r\nYou could use a [`@ControllerAdvice` class](https://www.baeldung.com/global-error-handler-in-a-spring-rest-api)."}}
{"actor":{"display_login":"SAPessi"}}