From 6c0f5bfd1cc9d41f74ba1b2d725f58dca0f00f3c Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Thu, 2 May 2019 18:26:43 -0700 Subject: [PATCH] Minor fix on admin console. --- meshuser.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meshuser.js b/meshuser.js index 8216deb5..7bbe419d 100644 --- a/meshuser.js +++ b/meshuser.js @@ -560,7 +560,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use parent.parent.getLatestServerVersion(function (currentVer, newVer, error) { var r2 = 'Current Version: ' + currentVer + '\r\n'; if (newVer != null) { r2 += 'Available Version: ' + newVer + '\r\n'; } - if (error != null) { r2 += 'Exception: ' + ex + '\r\n'; } + if (error != null) { r2 += 'Exception: ' + error + '\r\n'; } try { ws.send(JSON.stringify({ action: 'serverconsole', value: r2, tag: command.tag })); } catch (ex) { } }); r = 'Checking server update...'; diff --git a/package.json b/package.json index ffa2996b..e4909989 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.3.3-p", + "version": "0.3.3-q", "keywords": [ "Remote Management", "Intel AMT",