Skip to content

refactor: drop the redundant invalid-UTF-8 catch - #238

Open
MoonBoi9001 wants to merge 1 commit into
mb9/split-score-orchestration-into-stagesfrom
mb9/drop-redundant-unicode-error-catch
Open

MoonBoi9001 wants to merge 1 commit into
mb9/split-score-orchestration-into-stagesfrom
mb9/drop-redundant-unicode-error-catch

Conversation

@MoonBoi9001

@MoonBoi9001 MoonBoi9001 commented Sep 10, 2026

Copy link
Copy Markdown
Member

This PR removes the invalid-UTF-8 error from the list of errors the graph-node version fetcher tolerates per indexer, because it is a subclass of the value error already in that list and was never reached.

@MoonBoi9001
MoonBoi9001 added this pull request to stack #242 September 10, 2026 13:51
@MoonBoi9001
MoonBoi9001 marked this pull request as ready for review September 10, 2026 13:54
The graph-node version fetcher listed both ValueError and UnicodeDecodeError in the errors
it swallows per indexer, but the second is a subclass of the first, so it was already
caught. The existing invalid-UTF-8 test still passes with the extra entry gone.
@MoonBoi9001
MoonBoi9001 force-pushed the mb9/drop-redundant-unicode-error-catch branch from e9c951d to 1c4c8b0 Compare September 10, 2026 14:15
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