Skip to content
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
Closed

Enhance logging #80

ingoe opened this issue Sep 3, 2013 · 1 comment
Labels

Comments

@ingoe
Copy link

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
Copy link
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants