Skip to content

Commit d245dc5

Browse files
committed
Minor debug message for config key check
1 parent 087c5e8 commit d245dc5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config-updater.js

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ function verifyConfigKey(staticConfigPath, configKey) {
5656
const globalData = JSON.parse(fs.readFileSync(path.join(staticConfigPath, 'globals.json'), 'utf8'));
5757
if (globalData.configKeyCheck) {
5858
const configKeyCheck = cryptTools.apiDecrypt(configKey, globalData.configKeyCheck);
59+
debug('configKeyCheck: ' + configKeyCheck);
5960
const wickedCheckText = configKeyCheck.substring(40);
6061
if (wickedCheckText !== 'wicked')
6162
throw Error('Property configKeyCheck in globals.json did not contain expected check string; is your PORTAL_CONFIG_KEY wrong?.');

0 commit comments

Comments
 (0)