Skip to content

Gracefully handle batch errors - #101

Open
vseventer wants to merge 2 commits into
masterfrom
chore/error-handling
Open

Gracefully handle batch errors#101
vseventer wants to merge 2 commits into
masterfrom
chore/error-handling

Conversation

@vseventer

Copy link
Copy Markdown
Owner

Use Promise.allSettled so we can inspect promises' results and do proper logging of outcomes. When used in conjunction with --print, a JSON object containing an error key is part of the array.

This does not apply to stdin processing, since that's never batch and always a single file.

Fixes #98.

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.

Batch image processing needs graceful error handling

1 participant