mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nitro): add error logging to initWorker
(#2090)
This commit is contained in:
parent
5bc9012eff
commit
5fdefed39e
@ -29,6 +29,7 @@ function initWorker (filename): Promise<NitroWorker> {
|
||||
}
|
||||
})
|
||||
worker.on('error', (err) => {
|
||||
console.error('[worker]', err)
|
||||
err.message = '[worker] ' + err.message
|
||||
reject(err)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user