Skip to content
This repository was archived by the owner on Nov 10, 2017. It is now read-only.

Show error if phantomjs failed#12

Closed
dhamaniasad wants to merge 2 commits inton1k0:small-fixesfrom
dhamaniasad:patch-1
Closed

Show error if phantomjs failed#12
dhamaniasad wants to merge 2 commits inton1k0:small-fixesfrom
dhamaniasad:patch-1

Conversation

@dhamaniasad
Copy link

No description provided.

@n1k0
Copy link
Owner

n1k0 commented Mar 22, 2015

That would break the JSON output sent by the phantomjs script. You could add the status value to the object sent through the output function below though.

@dhamaniasad
Copy link
Author

@n1k0 I was trying to use readable-proxy, and I got the "Unable to access" error for every single URL I tried. The web interface was displaying a blank alert, and adding the console.log made it show the error instead. I don't know much JS, and digging through the code, I can't figure out what's causing this. I've added the status value though.

@n1k0
Copy link
Owner

n1k0 commented May 2, 2016

We've bumped the version of PhantomJS used in this project and it's very likely that this behavior has improved. Feel free to reopen if you still encounter the problem you had initially with the latest version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants