mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Remove logs
This commit is contained in:
parent
b13822bc5a
commit
d1d631a88e
@ -54,7 +54,6 @@ export default {
|
||||
if (this.$nuxt) {
|
||||
return this.$nuxt.error({ statusCode: 500, message: e.message })
|
||||
}
|
||||
console.error(e)
|
||||
})
|
||||
}
|
||||
},
|
||||
|
@ -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
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user