mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Allow reaper to die if initial state can't be loaded.
This commit is contained in:
parent
77e8d6c2dc
commit
85067b6f0b
1 changed files with 4 additions and 1 deletions
|
@ -119,5 +119,8 @@ module.exports = function(options) {
|
|||
ttlset.stop()
|
||||
})
|
||||
|
||||
loadInitialState().then(listenToChanges)
|
||||
loadInitialState().then(listenToChanges).catch(function(err) {
|
||||
log.fatal('Unable to load initial state', err)
|
||||
lifecycle.fatal()
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue