1
0
Fork 0
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:
Simo Kinnunen 2014-04-03 12:19:21 +09:00
parent 18a5817c9f
commit 3685d543c4

View file

@ -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()
})
}