1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 17:08:32 +00:00

[devalue] uniform error messages

Authored by: bashonly
This commit is contained in:
bashonly 2025-06-11 17:16:00 -05:00
parent afa47b8715
commit b547689d1c
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -64,7 +64,7 @@ def parse_iter(parsed: typing.Any, /, *, revivers: dict[str, collections.abc.Cal
try:
resolved[source] = target[index] = reviver(target[index])
except Exception as error:
yield TypeError(f'Failed to parse {source} as {name!r}: {error}')
yield TypeError(f'failed to parse {source} as {name!r}: {error}')
resolved[source] = target[index] = None
continue