Skip to content

Commit

Permalink
Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Jun 2, 2024
1 parent 456617a commit 3b2a19a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion porcupine/pluginloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def run_setup_argument_parser_functions(parser: argparse.ArgumentParser) -> None

def _handle_circular_dependency(cycle: list[PluginInfo]) -> None:
error_message = " -> ".join(info.name for info in cycle)
log.exception(f"circular dependency: {error_message}")
log.error(f"circular dependency: {error_message}")
for info in cycle:
info.status = Status.CIRCULAR_DEPENDENCY_ERROR
info.error = f"Circular dependency error: {error_message}"
Expand Down

0 comments on commit 3b2a19a

Please sign in to comment.