diff --git a/src/helpers/view-helper.js b/src/helpers/view-helper.js index 24ed156d..78e06a4e 100644 --- a/src/helpers/view-helper.js +++ b/src/helpers/view-helper.js @@ -37,6 +37,10 @@ module.exports = { this.log(); console.error(`${clc.red('ERROR:')} ${message}`); + if (error.original.detail) { + console.error(`${clc.red('ERROR DETAIL:')} ${error.original.detail}`); + } + extraMessages.forEach((message) => console.error(`${clc.red('EXTRA MESSAGE:')} ${message}`) );