Skip to content

Commit

Permalink
Merge pull request #11 from browserstack/mismatch
Browse files Browse the repository at this point in the history
fixes api mismatch
  • Loading branch information
vedharish authored Sep 19, 2016
2 parents 7b834a9 + c01c3e2 commit 491c6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Local.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function start($arguments) {
$return_message = shell_exec($call);
$data = json_decode($return_message,true);
if ($data["state"] != "connected") {
throw new LocalException($data['message']);
throw new LocalException($data['message']['message']);
}
$this->pid = $data['pid'];
}
Expand Down

0 comments on commit 491c6e3

Please sign in to comment.