mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +00:00
move uncaught exception to the top of app.coffee
This commit is contained in:
parent
a9b909acaf
commit
c667b55025
@ -1,12 +1,12 @@
|
||||
process.on 'uncaughtException', (e) ->
|
||||
console.error('Got unhandled exception', e, e?.stack)
|
||||
|
||||
Promise = require 'bluebird'
|
||||
knex = require './db'
|
||||
utils = require './utils'
|
||||
bootstrap = require './bootstrap'
|
||||
config = require './config'
|
||||
|
||||
process.on 'uncaughtException', (e) ->
|
||||
console.error('Got unhandled exception', e, e?.stack)
|
||||
|
||||
knex.init.then ->
|
||||
utils.mixpanelTrack('Supervisor start')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user