Skip to content

Commit

Permalink
Fix test handling issue introduced in recent a commit
Browse files Browse the repository at this point in the history
  • Loading branch information
andyearnshaw committed Jan 31, 2014
1 parent b8c0082 commit ee84bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/saucelabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ function runTestsInBrowser(state, browserConfig, done) {

browser.eval(code, function (err, out) {
// IE has to return errors to get the message
if (out.message)
if (out && out.message)
err = out;

saveResult(err ? null : out, err);
Expand Down

0 comments on commit ee84bef

Please sign in to comment.