use repr instead of str for errors

Ref #279.
This commit is contained in:
lilydjwg 2024-11-05 15:09:50 +08:00
parent 28f1ab5144
commit 256bb9dd3b
1 changed files with 1 additions and 1 deletions

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('no-result', name=r.name, error=str(r1))
logger.error('no-result', name=r.name, error=repr(r1))
has_failures = True
continue
check_version_update(oldvers, r.name, r1, verbose)