snet-cli
snet-cli copied to clipboard
Exceptions when adding to IPFS are printed rather than raised
Expected Behavior
Creating a CID hash and publishing on IPFS should raise an exception if an incorrect path or non-existent file name is provided.
Current Behavior
The exception is printed rather than being raised and halting normal execution. The metadata creation continues with the URL = null.
Bug
https://github.com/singnet/snet-cli/blob/f587902d49225ba166c4b133a1adcfcec8ce2b62/packages/snet_cli/snet/snet_cli/utils/ipfs_utils.py#L23