Add more logs for IPFS failures
All checks were successful
Release Drafter / Update release notes draft (pull_request) Successful in 4s
All checks were successful
Release Drafter / Update release notes draft (pull_request) Successful in 4s
This commit is contained in:
@@ -9,6 +9,13 @@ class IPFS {
|
||||
}
|
||||
this._config = config;
|
||||
this._ipfsAPI = ipfsClient.create(config);
|
||||
|
||||
this._ipfsAPI.id().then(res => {
|
||||
console.debug('IPFS ID:', res.id);
|
||||
}).catch(e => {
|
||||
console.debug('IPFS config:', config);
|
||||
console.warn('Failed to initialize IPFS:', e.message);
|
||||
});
|
||||
}
|
||||
|
||||
async catAndMerge (contractData, deserialize) {
|
||||
|
||||
Reference in New Issue
Block a user