From f18ce47a3d33aa5355d0209882fcc94ad6a30803 Mon Sep 17 00:00:00 2001 From: "Cheng-Han, Wu" Date: Tue, 10 May 2016 09:37:41 +0800 Subject: [PATCH 1/4] Update to exit app when an uncaughtException occured. --- app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.js b/app.js index c3c824a6..bfb9ac7d 100644 --- a/app.js +++ b/app.js @@ -473,5 +473,8 @@ models.sequelize.sync().then(startListen); // log uncaught exception process.on('uncaughtException', function (err) { + logger.error('An uncaught exception has occured.'); logger.error(err); + logger.error('Process will exit now.'); + process.exit(1); }); \ No newline at end of file From a1cbdb6de70256d5e6b837a1a9f61d189f0a64df Mon Sep 17 00:00:00 2001 From: "Cheng-Han, Wu" Date: Wed, 11 May 2016 11:47:39 +0800 Subject: [PATCH 2/4] Try to fix potential toolbar layout glitch --- public/views/header.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/views/header.ejs b/public/views/header.ejs index 40dee0b0..6218187f 100644 --- a/public/views/header.ejs +++ b/public/views/header.ejs @@ -1,7 +1,7 @@