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']; }