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

Improve diagnostics (PhantomJS logs, Readability.js messages/errors) #21

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

nickolay
Copy link
Contributor

@nickolay nickolay commented May 2, 2016

Regarding #12, the new version of PhantomJS was no better in than the old one when it failed :)

After playing around yesterday I have a number of patches that improve diagnostics making it easier to debug problems. Not sure which of them are acceptable (e.g. is --debug output safe to include in the http://readable-proxy.herokuapp.com/ and what is the browser support of the Web UI - is the Fetch API fine to use?).

This conflicts with 62ca359 , but I don't understand the reason behind that change.

nickolay added 6 commits May 1, 2016 18:21
- Displays a better error when communicating with the readable-proxy server (e.g. when it is not started)
- Only loads the original page in an iframe after we know readability ran successfully
…js) to appear in the web UI with proper object formatting.
Until this change the console logs were ignored in server.js (when returning an error), and in case there was no `result.content` in phantom-scrape.js
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.

1 participant