fix(xo-server-logs): better-stacks.js no longer exists

This commit is contained in:
Julien Fontanet 2020-02-24 17:47:10 +01:00
parent dd60d289ff
commit 8315d7790a
2 changed files with 6 additions and 1 deletions

View File

@ -18,6 +18,7 @@
- [Usage Report] Fix wrong report date [#4779](https://github.com/vatesfr/xen-orchestra/issues/4779) (PR [#4799](https://github.com/vatesfr/xen-orchestra/pull/4799))
- [SDN Controller] Fix plugin stuck loading [#4649](https://github.com/vatesfr/xen-orchestra/issues/4649) (PR [#4677](https://github.com/vatesfr/xen-orchestra/pull/4677))
- [xo-server-logs] Fix `Cannot find module '../better-stacks'`
### Released packages

View File

@ -5,6 +5,10 @@
// ===================================================================
// Better stack traces if possible.
require('../better-stacks')
try {
require('source-map-support').install({
handleUncaughtExceptions: false,
})
} catch (_) {}
require('exec-promise')(require('../dist/logs-cli').default)