From b323f9c3225b416aeaa6291e5f01c0a4503a16cd Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Sun, 26 Dec 2021 14:43:05 +0100 Subject: [PATCH] upgraded electron --- app/package.json | 2 +- app/yarn.lock | 12 ++++++------ packages/api/src/proc/databaseConnectionProcess.js | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/package.json b/app/package.json index 97a32638..eef6b444 100644 --- a/app/package.json +++ b/app/package.json @@ -102,7 +102,7 @@ "devDependencies": { "copyfiles": "^2.2.0", "cross-env": "^6.0.3", - "electron": "12.1.0", + "electron": "15.3.4", "electron-builder": "22.14.5" }, "optionalDependencies": { diff --git a/app/yarn.lock b/app/yarn.lock index dab726b6..1ae2c853 100644 --- a/app/yarn.lock +++ b/app/yarn.lock @@ -15,7 +15,7 @@ ajv "^6.12.0" ajv-keywords "^3.4.1" -"@electron/get@^1.0.1": +"@electron/get@^1.13.0": version "1.13.1" resolved "https://registry.yarnpkg.com/@electron/get/-/get-1.13.1.tgz#42a0aa62fd1189638bd966e23effaebb16108368" integrity sha512-U5vkXDZ9DwXtkPqlB45tfYnnYBN8PePp1z/XDCupnSpdrxT8/ThCv9WCwPLf9oqiSGZTkH6dx2jDUPuoXpjkcA== @@ -951,12 +951,12 @@ electron-updater@^4.6.1: lodash.isequal "^4.5.0" semver "^7.3.5" -electron@12.1.0: - version "12.1.0" - resolved "https://registry.yarnpkg.com/electron/-/electron-12.1.0.tgz#615a7f9dbb2fc79cc72361fba9f39d005c697bca" - integrity sha512-joQlYI/nTIrTUldO3GENZ2j225eKar9nTQBSEwSUSWN4h65QGDmXNQ7dbWPmLlkUQWtHhz8lXhFk30OLG9ZjLw== +electron@15.3.4: + version "15.3.4" + resolved "https://registry.yarnpkg.com/electron/-/electron-15.3.4.tgz#811e8872f4500b88ad49e005cbe8f93e10676f6d" + integrity sha512-GLTE+UEKw1pJehkgpLgXtsHhYqSPp6skSNY1bxnY3dDYBrsPlP3nTEO9YQY2p4eHk+uxFVTXOVy5afcu9fIZ9A== dependencies: - "@electron/get" "^1.0.1" + "@electron/get" "^1.13.0" "@types/node" "^14.6.2" extract-zip "^1.0.3" diff --git a/packages/api/src/proc/databaseConnectionProcess.js b/packages/api/src/proc/databaseConnectionProcess.js index 0f7477c9..a9f1422a 100644 --- a/packages/api/src/proc/databaseConnectionProcess.js +++ b/packages/api/src/proc/databaseConnectionProcess.js @@ -270,6 +270,7 @@ function start() { try { await handleMessage(message); } catch (e) { + console.error('Error in DB connection', e); process.send({ msgtype: 'error', error: e.message }); } });