snet-cli icon indicating copy to clipboard operation
snet-cli copied to clipboard

Exceptions when adding to IPFS are printed rather than raised

Open dhruvshettty opened this issue 5 years ago • 0 comments

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

dhruvshettty avatar Apr 01 '21 10:04 dhruvshettty