-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Closed
Copy link
Labels
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importIssues migrated from JIRA with more than 10 votes at the time of importtype: enhancementA general enhancementA general enhancement
Milestone
Description
Dwayne D'Souza opened SPR-8995 and commented
Currently an exceptions in Async proxied methods fail silently and do not pass to the default UncaughtExceptionHandler. This means you need to wrap every async method with AspectJ in order to achieve unexpected error handling in these methods.
e.g.
@Override
@Async
public void asyncExceptionTest() {
int i=1/0;
}
This will fail silently.
Issue Links:
- UncaughtExceptionHandler is not configured with AspectJ [SPR-12090] #16706 UncaughtExceptionHandler is not configured with AspectJ
- Asynchronous method execution is always invoked before bean validation [SPR-11775] #16397 Asynchronous method execution is always invoked before bean validation
- Use ErrorHandler in TaskExecutors [SPR-8603] #13246 Use ErrorHandler in TaskExecutors
19 votes, 20 watchers
Metadata
Metadata
Assignees
Labels
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importIssues migrated from JIRA with more than 10 votes at the time of importtype: enhancementA general enhancementA general enhancement