From 256bb9dd3b33297065d8a23e526b36d1f06fcf8f Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Tue, 5 Nov 2024 15:09:50 +0800 Subject: [PATCH] use repr instead of str for errors Ref #279. --- nvchecker/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvchecker/core.py b/nvchecker/core.py index 9035a93a..f5794686 100644 --- a/nvchecker/core.py +++ b/nvchecker/core.py @@ -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)