Remove logs

This commit is contained in:
Sébastien Chopin 2017-07-20 20:37:52 +02:00
parent b13822bc5a
commit d1d631a88e
2 changed files with 0 additions and 5 deletions

View File

@ -54,7 +54,6 @@ export default {
if (this.$nuxt) {
return this.$nuxt.error({ statusCode: 500, message: e.message })
}
console.error(e)
})
}
},

View File

@ -92,10 +92,6 @@ async function createApp (ssrContext) {
const _nuxt = this._nuxt || this.$options._nuxt
_nuxt.dateErr = Date.now()
_nuxt.err = err
if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
console.error(err)
console.error('[nuxt] ' + err)
}
return err
}
},