fix a logging error message

This commit is contained in:
Matthias Bernt
2022-05-19 01:37:00 +02:00
parent 7967096faf
commit 92edf4fa71
+1 -1
View File
@@ -529,7 +529,7 @@ def best_search_result(
hits = sorted(hits, key=lambda hit: hit["build_number"], reverse=True)
hits = sorted(hits, key=lambda hit: packaging.version.parse(hit["version"]), reverse=True)
except commands.CommandLineException as e:
log.error("Could not execute: '%s'\n%s", e.command, e)
log.error(f"Could not execute: '{e.command}'\n{e}")
hits = []
if len(hits) == 0: