mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Don't exit if no settings file was found.
This commit is contained in:
parent
f09dd0f3fb
commit
dc09323d8f
1 changed files with 1 additions and 2 deletions
|
@ -111,8 +111,7 @@ try{
|
||||||
//read the settings sync
|
//read the settings sync
|
||||||
settingsStr = fs.readFileSync(settingsFilename).toString();
|
settingsStr = fs.readFileSync(settingsFilename).toString();
|
||||||
} catch(e){
|
} catch(e){
|
||||||
console.error('No settings file found.');
|
console.warn('No settings file found. Continuing using defaults!');
|
||||||
process.exit(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// try to parse the settings
|
// try to parse the settings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue