Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a means to retrieve first exception (since StepContext.getException gets you last) #173

Open
follis opened this issue Aug 18, 2020 · 0 comments

Comments

@follis
Copy link
Contributor

follis commented Aug 18, 2020

StepExecution allows you to get the most recent exception caught by the batch runtime from application code, but you might actually want the first one (say an ItemReader threw, then the SkipListener threw, you really want the first one. But…is it the first one ever? Could be a long time ago in a long chunk loop. Or just the first on this pass? Need to clearly define when it resets if it does. Not sure it is useful if it doesn't.

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

No branches or pull requests

1 participant