Skip to content

Commit

Permalink
refactor: Change unresolved aliases log level to DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Jan 4, 2023
1 parent 96e231a commit dccb818
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mkdocstrings_handlers/python/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ def collect(self, identifier: str, config: dict) -> CollectorItem: # noqa: D102

unresolved, iterations = loader.resolve_aliases(implicit=False, external=False)
if unresolved:
logger.warning(f"{len(unresolved)} aliases were still unresolved after {iterations} iterations")
logger.debug(f"{len(unresolved)} aliases were still unresolved after {iterations} iterations")
logger.debug(f"Unresolved aliases: {', '.join(sorted(unresolved))}")

try:
doc_object = self._modules_collection[identifier]
Expand Down

0 comments on commit dccb818

Please sign in to comment.