From 396233fe0db5628e9fe30d240c5db19e9522d0b7 Mon Sep 17 00:00:00 2001 From: Anton Georgiev <anto.georgiev@gmail.com> Date: Mon, 10 Aug 2020 15:54:58 -0400 Subject: [PATCH] Improve log for parsed passed parameter error --- .../api/users-settings/server/methods/addUserSettings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/api/users-settings/server/methods/addUserSettings.js b/bigbluebutton-html5/imports/api/users-settings/server/methods/addUserSettings.js index c28ed33969..04217b08ea 100644 --- a/bigbluebutton-html5/imports/api/users-settings/server/methods/addUserSettings.js +++ b/bigbluebutton-html5/imports/api/users-settings/server/methods/addUserSettings.js @@ -71,7 +71,7 @@ function valueParser(val) { const parsedValue = JSON.parse(val.toLowerCase()); return parsedValue; } catch (error) { - logger.error('Parameter value could not ber parsed'); + logger.warn(`addUserSettings:Parameter ${val} could not be parsed (was not json)`); return val; } } -- GitLab