Skip to content

Propagate errors in get_svg_input_paths#108

Merged
flother merged 2 commits intomasterfrom
get_svg_input_paths-errors
Dec 27, 2025
Merged

Propagate errors in get_svg_input_paths#108
flother merged 2 commits intomasterfrom
get_svg_input_paths-errors

Conversation

@flother
Copy link
Owner

@flother flother commented Dec 27, 2025

Until now, get_svg_input_paths swallowed entry and recursion errors (despite what the function's docs said), letting unreadable directories or I/O failures silently skip SVGs. The traversal now uses ? on each entry and recursive call to make sure the errors aren't swallowed. There's also a test to check this behaviour works.

Until now, get_svg_input_paths swallowed entry and recursion errors
(despite what the function's docs said), letting unreadable directories
or I/O failures silently skip SVGs. The traversal now uses ? on each
entry and recursive call to make sure the errors aren't swallowed.
There's also a test to check this behaviour works.
@flother flother merged commit b6442b4 into master Dec 27, 2025
5 checks passed
@flother flother deleted the get_svg_input_paths-errors branch December 27, 2025 19:51
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.

1 participant