Skip to content

Commit

Permalink
missing file name in configuration warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva committed Oct 28, 2024
1 parent 139641c commit 95f77aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sarracenia/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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" )

Expand Down

0 comments on commit 95f77aa

Please sign in to comment.