From 95f77aa01c553236746d1bf5d3c95ec070ad409e Mon Sep 17 00:00:00 2001 From: Peter Silva Date: Mon, 28 Oct 2024 14:37:36 -0400 Subject: [PATCH] missing file name in configuration warning message --- sarracenia/config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sarracenia/config/__init__.py b/sarracenia/config/__init__.py index 05f7fcffd..d14bdee20 100755 --- a/sarracenia/config/__init__.py +++ b/sarracenia/config/__init__.py @@ -1761,7 +1761,7 @@ def parse_line(self, component, cfg, cfname, lineno, l ): # specify a second queue with different bindings... so this warning could be complaining about something # that is correct. but in every current case, the warning will be helpful. if ( k == 'queueName' ) and self.subtopic_seen: - logger.warning( f"queueName usually should be before subtopic in configs: subtopic to default queue" ) + logger.warning( f"{','.join(self.files)}:{lineno} queueName usually should be before subtopic in configs: subtopic to default queue" ) if ( k == 'directory' ) and not self.download: logger.info( f"{','.join(self.files)}:{lineno} if download is false, directory has no effect" )