From 44f592c6cb8ad4423d9b4d3705e5e3059288c9b7 Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 16 Jun 2019 09:15:37 +0200 Subject: [PATCH] fix reload --- package-lock.json | 6 +++--- package.json | 2 +- src/app.js | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 01b8cd900..00286b16e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2820,9 +2820,9 @@ "integrity": "sha512-0xy4A/twfrRCnkhfk8ErDi5DqdAsAqeGxht4xkCUrsvhhbQNs7E+4jV0CN7+NKIY0aHE72+XvqtBIXzD31ZbXQ==" }, "electron": { - "version": "6.0.0-beta.7", - "resolved": "https://registry.npmjs.org/electron/-/electron-6.0.0-beta.7.tgz", - "integrity": "sha512-GYG/uAG8VcZnbhd7zYo5lfkqsQElwdjBxoI+eg9xmKiU13QqtVhoyofZPb1OadVqfkyOTjGm4GlW75KlTNgdyw==", + "version": "6.0.0-beta.8", + "resolved": "https://registry.npmjs.org/electron/-/electron-6.0.0-beta.8.tgz", + "integrity": "sha512-TqgsK90V9Mkal24uw9/fGJiRob9J7WnSjlshDQjtmDYYD4xfDqk6U9+FRg638nst44J22BK8ew3HyaguuVqEWw==", "dev": true, "requires": { "@types/node": "^10.12.18", diff --git a/package.json b/package.json index b3402d393..d6343c92a 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ }, "devDependencies": { "devtron": "1.4.0", - "electron": "6.0.0-beta.7", + "electron": "6.0.0-beta.8", "electron-builder": "20.43.0", "electron-compile": "6.4.4", "electron-installer-debian": "2.0.0", diff --git a/src/app.js b/src/app.js index 2ab52cf26..26b5f439d 100644 --- a/src/app.js +++ b/src/app.js @@ -90,10 +90,10 @@ app.use((req, res, next) => { app.use((err, req, res, next) => { if (err && err.message && err.message.includes("Invalid package")) { // electron 6 outputs a lot of such errors which do not seem important - return; } - - log.info(err); + else { + log.info(err); + } res.status(err.status || 500); res.send({