Wrap anything that could break in the try/catch block

This commit is contained in:
bumi 2019-04-24 14:55:35 +02:00
parent 6b2ac15f56
commit 6f53c8097e

View File

@ -34,13 +34,12 @@ module.exports = async function(callback) {
c.ipfsHash
])
})
console.log(table.toString())
} catch(e) {
callback(e);
return;
}
console.log(table.toString())
callback()
}