Proper error propagation
Hello Everyone,
It's a simple (I hope) issue to fix: Proper error throwing and handling when config object in ipfsOptions isn't right.
Today I was trying to set a constructor, and used following:
ipfsOptions: { config: { Datastore: { StorageMax: '35GB', StorageGCWatermark: '99', }, }, }
Here, you can see I was trying to set StorageGCWatermark to a string. But it has to be int.
But instead of throwing an error it wasn't do anything. It was just ignoring config options and it was frustrating,
Thanks <3
Huh, I think this issue is duplicate from a previous one
I'll keep it just in case
@poolsar42 this should be resolved with the merging of https://github.com/ipfs/js-ipfsd-ctl/pull/722. Can you confirm that this issue is resolved for you?
@SgtPooki nice! Let's close this issue for now, I'll open new one if something wrong