cli/state: log error
This commit is contained in:
parent
9cd107fd5c
commit
064fbd1017
1 changed files with 1 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ var makeDefaultConfig = function(argv){
|
|||
try {
|
||||
return JSON.parse(fs.readFileSync(argv['state'], 'utf8'))
|
||||
} catch(err) {
|
||||
console.error(err)
|
||||
return false
|
||||
}
|
||||
})(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue