From 001c77e6869edac1aa074c9777ebb607419a7f19 Mon Sep 17 00:00:00 2001 From: An Seongjin Date: Sun, 30 Jun 2024 22:27:54 +0900 Subject: [PATCH] Fix syntax that causes errors (generateKeys log) --- backend/lib/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/lib/config.js b/backend/lib/config.js index caa57fcf..a484fc5b 100644 --- a/backend/lib/config.js +++ b/backend/lib/config.js @@ -93,7 +93,7 @@ const generateKeys = () => { try { fs.writeFileSync(keysFile, JSON.stringify(keys, null, 2)); } catch (err) { - logger.error('Could not write JWT key pair to config file: ' + keysFile + ': ' . err.message); + logger.error('Could not write JWT key pair to config file: ' + keysFile + ': ' + err.message); process.exit(1); } logger.info('Wrote JWT key pair to config file: ' + keysFile);