We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fef7f54 commit 032a400Copy full SHA for 032a400
1 file changed
src/griffe_typedoc/loader.py
@@ -35,7 +35,7 @@ def load(typedoc_command: str | list[str], working_directory: str = ".") -> Proj
35
while True:
36
if line := process.stdout.readline().strip(): # type: ignore[union-attr]
37
level, line = line.split(" ", 1)
38
- level = re.search(r"\[(\w+)\]", level).group(1)
+ level = match.group(1) if (match := re.search(r"\[(\w+)\]", level)) else "INFO"
39
getattr(logger, level)(_double_brackets(line))
40
else:
41
break
0 commit comments