diff --git a/twitter.js b/twitter.js index 6d1457a..b5a48e9 100644 --- a/twitter.js +++ b/twitter.js @@ -136,6 +136,10 @@ const accounts = [ }) .on("ping", () => console.log('>> ping')) .on("error", error => console.error(error)) - .on("end", response => console.log('Stopped!')); + .on("end", response => { + console.error('Stopped!'); + console.log(response); + process.exit(1); + }); })();