mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
emit an error log when an exception is set
also fixes #269, but maybe more
This commit is contained in:
parent
d13cbeea38
commit
7e2583be56
1 changed files with 3 additions and 0 deletions
|
@ -329,6 +329,7 @@ def apply_list_options(
|
|||
if not versions2:
|
||||
logger.warning('include_regex matched no versions',
|
||||
name=name, versions=versions, regex=pattern)
|
||||
return None
|
||||
versions = versions2
|
||||
|
||||
pattern = conf.get('exclude_regex')
|
||||
|
@ -442,6 +443,8 @@ async def process_result(
|
|||
r1 = e
|
||||
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))
|
||||
has_failures = True
|
||||
continue
|
||||
check_version_update(oldvers, r.name, r1, verbose)
|
||||
|
|
Loading…
Add table
Reference in a new issue