Enhance logging #80

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

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