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 c7ba904 commit 89b7370Copy full SHA for 89b7370
can/interfaces/socketcan/utils.py
@@ -58,11 +58,12 @@ def find_available_interfaces() -> List[str]:
58
try:
59
output_json = json.loads(output_str)
60
except json.JSONDecodeError:
61
- log.exception(f"Failed to parse ip link JSON output: {output_str}")
+ log.exception(f"Failed to parse ip link JSON output: %s", output_str)
62
return []
63
64
log.debug(
65
- f"find_available_interfaces(): detected these interfaces (before filtering): {output_json}"
+ f"find_available_interfaces(): detected these interfaces (before filtering): %s",
66
+ output_json,
67
)
68
69
interfaces = [i["ifname"] for i in output_json if i["link_type"] == "can"]
0 commit comments