Wrap anything that could break in the try/catch block
This commit is contained in:
parent
6b2ac15f56
commit
6f53c8097e
@ -34,13 +34,12 @@ module.exports = async function(callback) {
|
|||||||
c.ipfsHash
|
c.ipfsHash
|
||||||
])
|
])
|
||||||
})
|
})
|
||||||
|
|
||||||
|
console.log(table.toString())
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
callback(e);
|
callback(e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(table.toString())
|
|
||||||
|
|
||||||
callback()
|
callback()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user