Skip to content

Raise UnknownODAFCError in odafc.convert() if no output file exists - #1488

Merged
mozman merged 1 commit into
mozman:masterfrom
agenticeram:fix-odafc-convert-raise
Nov 25, 2026
Merged

mozman merged 1 commit into
mozman:masterfrom
agenticeram:fix-odafc-convert-raise

Conversation

@agenticeram

Copy link
Copy Markdown
Contributor

odafc.convert() creates an UnknownODAFCError when the ODA File Converter creates no output file, but the raise statement is missing. The function returns without an error and the destination file does not exist.

This PR adds the raise statement and a test. The test does not need an installed ODA File Converter.

@mozman
mozman merged commit 98b49ff into mozman:master Nov 25, 2026
12 checks passed
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.

2 participants