mirror of
				https://github.com/ether/etherpad-lite.git
				synced 2025-11-03 17:51:43 +01:00 
			
		
		
		
	Don't exit if no settings file was found.
This commit is contained in:
		
							parent
							
								
									f09dd0f3fb
								
							
						
					
					
						commit
						dc09323d8f
					
				@ -111,8 +111,7 @@ try{
 | 
			
		||||
  //read the settings sync
 | 
			
		||||
  settingsStr = fs.readFileSync(settingsFilename).toString();
 | 
			
		||||
} catch(e){
 | 
			
		||||
  console.error('No settings file found.');
 | 
			
		||||
  process.exit(1);
 | 
			
		||||
  console.warn('No settings file found. Continuing using defaults!');
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// try to parse the settings
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user