Log output of removing state directory
This commit is contained in:
parent
b605f875bc
commit
ec156fc8b6
|
@ -66,7 +66,7 @@ intval.init = function () {
|
||||||
forgiveParseErrors: false // [NEW]
|
forgiveParseErrors: false // [NEW]
|
||||||
}).then(intval._restoreState).catch((err) => {
|
}).then(intval._restoreState).catch((err) => {
|
||||||
log.error('init', err)
|
log.error('init', err)
|
||||||
fs.rmdirSync('./state')
|
console.dir(fs.rmdirSync('./state'))
|
||||||
log.warn('Restarting')
|
log.warn('Restarting')
|
||||||
return process.exit(1)
|
return process.exit(1)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue