Skip to content

Commit

Permalink
Log ignored exception details to debug log (#3900)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Svensson <[email protected]>
  • Loading branch information
bluecmd authored Nov 27, 2023
1 parent 5fda814 commit fa9d1c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ansiblelint/_internal/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def getmatches(self, file: Lintable) -> list[MatchError]:
str(file),
exc,
)
_logger.debug("Ignored exception details", exc_info=True)
else:
matches.extend(self.matchdir(file))
return matches
Expand Down

0 comments on commit fa9d1c7

Please sign in to comment.