From da549cd6373ef13416c81597747bbe92ea63facc Mon Sep 17 00:00:00 2001 From: NGPixel Date: Mon, 13 Feb 2017 23:36:20 -0500 Subject: [PATCH] Fix for unhandled err --- libs/system.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/system.js b/libs/system.js index fbbd32fd..c905161d 100644 --- a/libs/system.js +++ b/libs/system.js @@ -65,7 +65,7 @@ module.exports = { winston.info('[SERVER.System] Cleaning install leftovers...') return fs.removeAsync(self._installDir).then(() => { winston.info('[SERVER.System] Restarting Wiki.js...') - return pm2.restartAsync('wiki').catch(err => { + return pm2.restartAsync('wiki').catch(err => { // eslint-disable-line handle-callback-err winston.error('Unable to restart Wiki.js via pm2... Do a manual restart!') process.exit() })