fix lamassu-apply-defaults

This commit is contained in:
Josh Harvey 2017-05-07 22:53:28 +03:00
parent 577946ee52
commit 70c3f59628
2 changed files with 4 additions and 10 deletions

View file

@ -151,8 +151,7 @@ function validate (config) {
.then(() => validateRequires(config))
.then(arr => {
if (arr.length === 0) return config
logger.error('Invalid configuration: %j', arr)
throw new Error('Invalid configuration')
throw new Error('Invalid configuration:' + arr)
})
}