New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance logging #80

Closed
ingoe opened this Issue Sep 3, 2013 · 1 comment

Comments

Projects
None yet
3 participants
@ingoe

ingoe commented Sep 3, 2013

If jasmine provides wrong URL's for phantom you get no hint of whats going wrong.
In my case I had a setup where, for whatever reason, jasmine called the phantomrunner with wrong options where the host property contained the protocol twice, e.g. "host":"http://http://localhost:9000/"

In the jasmine.js setup function something like this would be helpful:

phantomjs.on('fail.load',function(url){
      grunt.log.writeln();
      grunt.warn('PhantomJS failed to request url ' + url , 90);
});
@samccone

This comment has been minimized.

Contributor

samccone commented Jun 2, 2014

This is an interesting default but something that I think belongs in the readme as compared to the default.

However your call @jmeas

@vladikoff vladikoff closed this Mar 4, 2016

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