From ace66666c05ae298a45a9f5a3d2aa57a441e475e Mon Sep 17 00:00:00 2001 From: David Rivera Date: Sun, 5 Jun 2022 09:50:44 -0700 Subject: [PATCH] add error value to console.error --- config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.ts b/config.ts index 829e871cb..d6c393cc0 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); }