mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-06 11:10:27 +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');
|
require('coffee-script');
|
||||||
var knex = require('./db')
|
var knex = require('./db')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user