mirror of
				https://github.com/warengroup/eximiabots-radiox.git
				synced 2025-11-04 03:49:33 +00:00 
			
		
		
		
	Update uncaughtException event
This commit is contained in:
		@@ -1,7 +1,10 @@
 | 
				
			|||||||
module.exports = {
 | 
					module.exports = {
 | 
				
			||||||
    name: 'uncaughtException',
 | 
					    name: 'uncaughtException',
 | 
				
			||||||
    execute(client, error) {
 | 
					    execute(client, error) {
 | 
				
			||||||
 | 
					        this.funcs.logger("Error");
 | 
				
			||||||
        console.log(error.stack);
 | 
					        console.log(error.stack);
 | 
				
			||||||
 | 
					        console.log('');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        process.emit('SIGINT');
 | 
					        process.emit('SIGINT');
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user