mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	Remove uncaught exception logging
This is the responsibility of the app
This commit is contained in:
		
							parent
							
								
									81c9482bc7
								
							
						
					
					
						commit
						21e0522116
					
				@ -44,11 +44,6 @@ function start (opts) {
 | 
				
			|||||||
        .catch(err => logger.error('failed creating app', err));
 | 
					        .catch(err => logger.error('failed creating app', err));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
process.on('uncaughtException', err => {
 | 
					 | 
				
			||||||
    logger.error('Uncaught Exception:', err.message);
 | 
					 | 
				
			||||||
    logger.error(err.stack);
 | 
					 | 
				
			||||||
});
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
module.exports = {
 | 
					module.exports = {
 | 
				
			||||||
    start,
 | 
					    start,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user