fix lamassu-apply-defaults
This commit is contained in:
parent
577946ee52
commit
70c3f59628
2 changed files with 4 additions and 10 deletions
|
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue