print metadata for insights

This commit is contained in:
keyan 2021-06-10 14:28:17 -05:00
parent e90cc1e941
commit 01097321f8
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ export default {
return await models.invoice.create({ data })
} catch (error) {
console.log(error, error.metadata)
console.log(error, error[error.length - 1].metadata)
throw error
}
},