mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Bind DB connection error to lifecycle.
This commit is contained in:
parent
18a5817c9f
commit
3685d543c4
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ function connect() {
|
|||
})
|
||||
.catch(function(err) {
|
||||
log.fatal('Unable to connect to the database: "%s"', err.message)
|
||||
process.exit(1)
|
||||
lifecycle.fatal()
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue