Skip to content

Commit ac03116

Browse files
Edgpaezbootstraponline
authored andcommitted
Include url in raised connection error (#374)
Include url in raised connection error
1 parent 924c28b commit ac03116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/appium_lib/driver.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def start_driver
489489
end rescue nil
490490
end
491491
rescue Errno::ECONNREFUSED
492-
raise 'ERROR: Unable to connect to Appium. Is the server running?'
492+
raise "ERROR: Unable to connect to Appium. Is the server running on #{server_url}?"
493493
end
494494

495495
@driver.manage.timeouts.implicit_wait = @default_wait

0 commit comments

Comments
 (0)