From c01c3e2c48a4a76744287301a53b0c57c057781c Mon Sep 17 00:00:00 2001 From: Vibhaj Rajan Date: Mon, 19 Sep 2016 18:44:31 +0530 Subject: [PATCH] fixes api mismatch --- lib/Local.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Local.php b/lib/Local.php index 2e6a1d2..69a9973 100644 --- a/lib/Local.php +++ b/lib/Local.php @@ -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']; }