From 219849da9c643a0e973b467f2d21d58a2dc83ea3 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Tue, 16 Apr 2024 15:39:47 +0200 Subject: [PATCH] Decrease not loading IT when ITs are not enabled to warning --- lib/galaxy/tool_util/toolbox/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/galaxy/tool_util/toolbox/base.py b/lib/galaxy/tool_util/toolbox/base.py index f70d2978b4f2..dec573f9b922 100644 --- a/lib/galaxy/tool_util/toolbox/base.py +++ b/lib/galaxy/tool_util/toolbox/base.py @@ -898,6 +898,8 @@ def _load_tool_tag_set( except OSError as exc: exc_info = exc.errno != ENOENT log.error("Error reading tool configuration file from path '%s': %s", path, exc, exc_info=exc_info) + except AssertionError as exc: + log.warning("Error reading tool configuration file from path '%s': %s", path, exc) except Exception: log.exception("Error reading tool from path: %s", path)