From 5acf61b3722cf7ecfac8d922c49d258fbc829a3f Mon Sep 17 00:00:00 2001 From: David Rivera Date: Sun, 17 Dec 2023 12:17:50 -0800 Subject: [PATCH] chore: add error value to console.error (#564) Co-authored-by: Trim21 --- config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.ts b/config.ts index bd4e38e2d..9910a234b 100644 --- a/config.ts +++ b/config.ts @@ -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); }