Procházet zdrojové kódy

Fix syntax that causes errors (generateKeys log)

An Seongjin před 1 rokem
rodič
revize
001c77e686
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);