From 6f7a3616a1dc4f4e2295f821b0ca3334ee95c112 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Wed, 13 Jul 2022 11:52:18 +0300 Subject: [PATCH] Drop extension from config_exception, should be obvious from file path Fixes https://github.com/galaxyproject/galaxy/issues/14316 --- lib/galaxy/jobs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/jobs/__init__.py b/lib/galaxy/jobs/__init__.py index 2c08c2fb8f15..09fc4bf6bb3a 100644 --- a/lib/galaxy/jobs/__init__.py +++ b/lib/galaxy/jobs/__init__.py @@ -143,7 +143,7 @@ def get_resource_group(self): def config_exception(e, file): abs_path = os.path.abspath(file) - message = f"Problem parsing the XML in file {abs_path}, " + message = f"Problem parsing file '{abs_path}', " message += "please correct the indicated portion of the file and restart Galaxy. " message += unicodify(e) log.exception(message)