route -> generate ERR

This commit is contained in:
Pooya Parsa 2018-03-13 21:00:15 +03:30
parent 3053431d79
commit 49ba546730

View File

@ -138,7 +138,7 @@ module.exports = class Generator {
const color = isHandled ? 'yellow' : 'red'
let line =
Chalk.black[bgColor](' ROUTE ') + Chalk[color](` ${route}\n\n`)
Chalk.black[bgColor](' GENERATE ERR ') + Chalk[color](` ${route}\n\n`)
if (isHandled) {
line += Chalk.grey(JSON.stringify(error, undefined, 2) + '\n')