mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-28 02:58:18 +08:00
fix a logging error message
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user