|
|
|
@ -99,12 +99,16 @@
|
|
|
|
|
page.onError = function(message) {
|
|
|
|
|
wappalyzer.log(message, 'error');
|
|
|
|
|
|
|
|
|
|
console.log('{}');
|
|
|
|
|
|
|
|
|
|
phantom.exit(1);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
page.onResourceTimeout = function() {
|
|
|
|
|
wappalyzer.log('Resource timeout', 'error');
|
|
|
|
|
|
|
|
|
|
console.log('{}');
|
|
|
|
|
|
|
|
|
|
phantom.exit(1);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -167,6 +171,8 @@
|
|
|
|
|
} catch ( e ) {
|
|
|
|
|
wappalyzer.log(e, 'error');
|
|
|
|
|
|
|
|
|
|
console.log('{}');
|
|
|
|
|
|
|
|
|
|
phantom.exit(1);
|
|
|
|
|
}
|
|
|
|
|
})();
|
|
|
|
|