Skip to content

Commit 1c279f4

Browse files
committed
Add debug info
1 parent a33809a commit 1c279f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/vm/network/firewall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def execute_json_nft_commands(commands: list[dict]) -> int:
3535
logger.debug("Inserting nftables rules")
3636
return_code, output, error = nft.json_cmd(commands_dict)
3737
if return_code != 0:
38-
logger.error(f"Failed to add nftables rules: {error}")
38+
logger.error("Failed to add nftables rules: %s -- %s", error, json.dumps(commands, indent=4))
3939

4040
return return_code
4141

0 commit comments

Comments
 (0)