Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Local.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function Local(){
}
}

if(error) throw new LocalError(data);
if(error) throw new LocalError(error);
callback();
});
};
Expand Down
2 changes: 1 addition & 1 deletion test/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('Local', function () {
bsLocal_2.start({ key: process.env.BROWSERSTACK_ACCESS_KEY }, function(){});
}
catch(err){
expect(err.toString().trim()).to.equal('LocalError: *** Error: Either another browserstack local client is running on your machine or some server is listening on port 45691');
expect(err.toString().trim()).to.equal('LocalError: *** Error: Either another browserstack local client is running on your machine or some server is listening on port 45691');
done();
}
});
Expand Down