From 2506c9773c28362cbc68a83a695503e3cac7199f Mon Sep 17 00:00:00 2001 From: Alex Hedges Date: Mon, 10 Jul 2023 17:24:50 -0400 Subject: [PATCH] Log errors when parsing existing Conda versions This makes it easier to fix file names that cannot be parsed using the current logic. --- plugins/python-build/scripts/add_miniconda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python-build/scripts/add_miniconda.py b/plugins/python-build/scripts/add_miniconda.py index 4e174518..0dfd2ce1 100755 --- a/plugins/python-build/scripts/add_miniconda.py +++ b/plugins/python-build/scripts/add_miniconda.py @@ -289,7 +289,7 @@ def get_existing_condas(name): logger.debug("Found existing %(name)s version %(v)s", locals()) yield v except ValueError: - pass + logger.error("Unable to parse existing version %s", entry_name) def get_available_condas(name, repo):