chore: add error value to console.error (#564)

Co-authored-by: Trim21 <trim21.me@gmail.com>
This commit is contained in:
David Rivera
2023-12-17 12:17:50 -08:00
committed by GitHub
parent d114335cd8
commit 5acf61b372

View File

@@ -211,7 +211,7 @@ try {
fs.mkdirSync(path.join(argv.rundir, 'db'), {recursive: true});
fs.mkdirSync(path.join(argv.rundir, 'temp'), {recursive: true});
} catch (error) {
console.error('Failed to access runtime directory');
console.error('Failed to access runtime directory', error);
process.exit(1);
}