thingsinjars/Hardy — pull request #17 by dwabyick (2013-10-24 05:42:59+00:00)
Title: better error messaging

Providing some better error messaging to the callbacks for imagetest. Right now, we just pass the err object straight from webdriver, which doesn't get stringified well.

This approach indicates the action that failed, as well as the underlying error message (usually not useful).

To test, try running your tests against a webserver that is not available, or purposefully misname an imageselector to make crop fail.