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

Incorrect log message when unable to process a batch of records #207

Closed
fmbenhassine opened this issue Sep 7, 2016 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@fmbenhassine
Copy link
Member

When an exception is thrown in a batch processor, the log message is incorrect:

2016-09-07 17:10:33.515 SEVERE [org.easybatch.core.job.DefaultPipelineListener onRecordProcessingException] - An exception occurred while processing record Batch: {
header=[number=1, source="In-Memory Iterable", creationDate="Wed Sep 07 17:10:33 CEST 2016"],
payload=[
    Record: {header=[number=1, source="In-Memory Iterable", creationDate="Wed Sep 07 17:10:33 CEST 2016"], payload=[foo]}
]} 

An exception occurred while processing record Batch: .. makes no sense. This should be Record: or Batch:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant