Skip to content

Commit d0f7d28

Browse files
authored
Merge pull request #16 from browserstack/mismatch
api mismatch
2 parents 7ef2d27 + 73e3c70 commit d0f7d28

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

browserstack-local.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |s|
22
s.name = 'browserstack-local'
3-
s.version = '1.1.0'
4-
s.date = '2016-07-11'
3+
s.version = '1.2.0'
4+
s.date = '2016-09-19'
55
s.summary = "BrowserStack Local"
66
s.description = "Ruby bindings for BrowserStack Local"
77
s.authors = ["BrowserStack"]

lib/browserstack/local.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def start(options = {})
9292
data = JSON.parse(line) rescue {"message" => "Unable to parse daemon mode JSON output"}
9393
if data['state'].to_s != "connected"
9494
@process.close
95-
raise BrowserStack::LocalException.new(data["message"])
95+
raise BrowserStack::LocalException.new(data["message"]["message"])
9696
return
9797
else
9898
@pid = data["pid"]

0 commit comments

Comments
 (0)