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 7a0b166 commit ce8e7c2Copy full SHA for ce8e7c2
cats/cats.py
@@ -440,10 +440,12 @@ async def cmd_func(
440
"Yes",
441
}
442
if confirmation:
443
- response = await push_tx(wallet_rpc_port, fingerprint, final_bundle, Path(root_path))
444
- if "error" in response:
445
- print(f"Error pushing transaction: {response['error']}")
+ try:
+ await push_tx(wallet_rpc_port, fingerprint, final_bundle, Path(root_path))
+ except Exception as e:
446
+ print(f"Error pushing transaction: {e}")
447
return
448
+
449
print("Successfully pushed the transaction to the network")
450
451
print(f"Asset ID: {curried_tail.get_tree_hash().hex()}")
0 commit comments