Don't exit if no settings file was found.

This commit is contained in:
Marcel Klehr 2012-07-11 15:36:41 +02:00
parent f09dd0f3fb
commit dc09323d8f

View file

@ -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