Verified Commit 4cfb1ac9 authored by Aral Balkan's avatar Aral Balkan
Browse files

Avoid cyclic browser disconnect events

parent de7fd89d
......@@ -105,17 +105,15 @@ inspect = (domain, callback) ->
if handleBrowserEvents
console.log "\n\n\n\n\n 💀 Browser disconnected. Failing.\n\n"
# process.exit 1
callback new Error "Browser disconnected."
browser.on "close", ->
if handleBrowserEvents
console.log "\n\n\n\n\n 🔥 Browser closed. Failing.\n\n"
# process exit 1
callback new Error "Browser closed."
# Start anaylsing a new domain
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment