mirror of
https://github.com/zoriya/flood.git
synced 2025-12-05 23:06:20 +00:00
chore: add error value to console.error (#564)
Co-authored-by: Trim21 <trim21.me@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user