diff --git a/bin/nuxt b/bin/nuxt index 2bbe0ee954..7d2315cb48 100755 --- a/bin/nuxt +++ b/bin/nuxt @@ -1,10 +1,10 @@ #!/usr/bin/env node const { join } = require('path') -const { logError } = require('../lib/common/utils') +const { Utils } = require('..') // Global error handler process.on('unhandledRejection', _error => { - logError(_error) // eslint-disable no-console + Utils.printError(_error) }) const defaultCommand = 'dev'