fix compilation error

This commit is contained in:
jangko 2020-07-23 16:01:19 +07:00
parent f82dff64fa
commit d200a98a68
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 4 additions and 1 deletions

View File

@ -36,7 +36,10 @@ type
proc start(nimbus: NimbusNode) =
var conf = getConfiguration()
conf.loadKeystoreFiles()
let res = conf.loadKeystoreFiles()
if res.isErr:
echo res.error()
quit(QuitFailure)
## logging
setLogLevel(conf.debug.logLevel)