Remove uncaughtException listener

main
Elbert Alias 5 years ago
parent 9684b4b760
commit 190cb3d347

@ -109,8 +109,6 @@ class Driver {
this.wappalyzer.driver.log = (message, source, type) => this.log(message, source, type); this.wappalyzer.driver.log = (message, source, type) => this.log(message, source, type);
this.wappalyzer.driver this.wappalyzer.driver
.displayApps = (detected, meta, context) => this.displayApps(detected, meta, context); .displayApps = (detected, meta, context) => this.displayApps(detected, meta, context);
process.on('uncaughtException', e => this.wappalyzer.log(`Uncaught exception: ${e.message}`, 'driver', 'error'));
} }
on(event, callback) { on(event, callback) {