mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
* Not much. Will start on DEMO mode for View development, etc.
This commit is contained in:
parent
f4a5b9e4be
commit
ca2274dcf5
4 changed files with 21 additions and 1 deletions
|
@ -23,7 +23,11 @@ module.exports = {
|
|||
logPathError = logPath + ' is not a directory!';
|
||||
}
|
||||
} catch(e) {
|
||||
logPathError = e.message;
|
||||
if('ENOENT' === e.code) {
|
||||
logPathError = 'No such file or directory: ' + logPath;
|
||||
} else {
|
||||
logPathError = e.message;
|
||||
}
|
||||
}
|
||||
|
||||
if(logPathError) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue