Skip to content

Fix inaccurate exception message in TaskExecutorJobLauncher#5287

Open
kojw1017 wants to merge 1 commit intospring-projects:mainfrom
kojw1017:GH-5280
Open

Fix inaccurate exception message in TaskExecutorJobLauncher#5287
kojw1017 wants to merge 1 commit intospring-projects:mainfrom
kojw1017:GH-5280

Conversation

@kojw1017
Copy link

The JobExecutionAlreadyRunningException thrown by TaskExecutorJobLauncher currently includes the JobInstance details instead of the running JobExecution details.

This commit updates the exception to pass the running JobExecution.

Resolves #5280

Thank you for taking time to contribute this pull request!
You might have already read the contributor guide, but as a reminder, please make sure to:

  • Rebase your changes on the latest main branch and squash your commits
  • Add/Update unit tests as needed
  • Run a build and make sure all tests pass prior to submission
  • Sign-off commits according to the Developer Certificate of Origin

For more details, please check the contributor guide.
Thank you upfront!

The JobExecutionAlreadyRunningException thrown by TaskExecutorJobLauncher
currently includes the JobInstance details instead of the running
JobExecution details.

This commit updates the exception to pass the running JobExecution.

Resolves spring-projects#5280

Signed-off-by: kojw1017 <kojw1017@naver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inaccurate exception message when attempting to start a running job

1 participant