Skip to content

Commit

Permalink
Merge pull request #34 from uktrade/docs/more-detail-on-exceptions
Browse files Browse the repository at this point in the history
docs: explain that source iterable exceptions have priority over error code exceptions
  • Loading branch information
michalc committed Aug 15, 2023
2 parents c066cf9 + e08db14 commit d37ba2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ If the process starts, but exits with a non-zero return code, then an `iterable_
- `returncode` - the return code of the process
- `stderr` - the final 65536 bytes of the standard error of the process

However, if the process starts, but an exception is raised from inside the context, then this exception is propagated, even if the process subsequently exits with a non-zero return code.
However, if the process starts, but an exception is raised from inside the context or from the source iterable, then this exception is propagated, even if the process subsequently exits with a non-zero return code.


## Example: unzip the first file of a ZIP archive while downloading
Expand Down

0 comments on commit d37ba2d

Please sign in to comment.