Explorar o código

Fix syntax that causes errors (generateKeys log)

An Seongjin hai 1 ano
pai
achega
001c77e686
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      backend/lib/config.js

+ 1 - 1
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);