mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-29 15:44:13 +00:00
Don't crash on uncaught exceptions
This commit is contained in:
parent
dc3708d14f
commit
469777c232
@ -1,3 +1,7 @@
|
||||
process.on('uncaughtException', function (e) {
|
||||
console.log('Got unhandled exception', e)
|
||||
})
|
||||
|
||||
require('coffee-script');
|
||||
var knex = require('./db')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user