Skip to content

[toimage] Fix error reporting without --fail-first#539

Merged
Enet4 merged 2 commits intomasterfrom
bug/toimage/error-reporting
Jul 21, 2024
Merged

[toimage] Fix error reporting without --fail-first#539
Enet4 merged 2 commits intomasterfrom
bug/toimage/error-reporting

Conversation

@Enet4
Copy link
Copy Markdown
Owner

@Enet4 Enet4 commented Jul 13, 2024

This fixes a minor regression from #532.

  • add error reporting in suitable places when fail_first is not enabled, otherwise errors would never be reported
  • let errors flow normally in the case of converting a single DICOM file
  • replace a match on bool to an if-else

- add error reporting in suitable places
  otherwise it would never be reported
- let errors flow normally in the case of a single file
- replace match on bool
@Enet4 Enet4 added bug This is a bug A-tool Area: tooling C-toimage Crate: dicom-toimage labels Jul 13, 2024
@Enet4 Enet4 merged commit 90ce1c6 into master Jul 21, 2024
@Enet4 Enet4 deleted the bug/toimage/error-reporting branch July 21, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tool Area: tooling bug This is a bug C-toimage Crate: dicom-toimage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant