We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a13383 commit 0d7b046Copy full SHA for 0d7b046
src/main/java/com/browserstack/local/Local.java
@@ -77,7 +77,7 @@ public void start(Map<String, String> options) throws Exception {
77
78
JSONObject obj = new JSONObject(!stdout.equals("") ? stdout : stderr);
79
if(!obj.getString("state").equals("connected")){
80
- throw new LocalException(obj.getString("message"));
+ throw new LocalException(obj.getJSONObject("message").getString("message"));
81
}
82
else {
83
pid = obj.getInt("pid");
0 commit comments