make exception from "_process_result" a "no-result" log

so that it follows the doc and tests.
This commit is contained in:
lilydjwg 2024-04-26 21:25:56 +08:00
parent 7e2583be56
commit 0890c7e966
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ from_pattern, to_pattern
missing_ok
Suppress warnings and errors if a version checking module finds nothing.
Currently only ``regex`` supports it.
Not all sources support it.
proxy
The HTTP proxy to use. The format is ``proto://host:port``, e.g.

View File

@ -444,7 +444,7 @@ async def process_result(
if isinstance(r1, Exception):
entry_waiter.set_exception(r.name, r1)
# no versions are returned from "apply_list_options"?
logger.error('an error occurred', name=r.name, error=str(r1))
logger.error('no-result', name=r.name, error=str(r1))
has_failures = True
continue
check_version_update(oldvers, r.name, r1, verbose)