From b3e9952976979b545afd8d6bd3ba26ef81d93203 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 13 Jan 2018 08:40:01 +0330 Subject: [PATCH] fix: logError is not a function. fixes #2577. --- bin/nuxt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'