mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-24 04:55:42 +00:00
Log the stack trace as well when catching an unhandled error.
This commit is contained in:
parent
4f431d36ed
commit
58cbb3808e
@ -1,5 +1,5 @@
|
||||
process.on 'uncaughtException', (e) ->
|
||||
console.log('Got unhandled exception', e)
|
||||
console.error('Got unhandled exception', e, e?.stack)
|
||||
|
||||
supervisor = require './supervisor-update'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user