Skip to content

Commit 03fb5dd

Browse files
committed
Fix deprecated TimeoutError constant
1 parent 6b7cbcc commit 03fb5dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/bigbluebutton_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ def send_request(url, data=nil)
731731
end
732732
puts "BigBlueButtonAPI: URL response = #{response.body}" if @debug
733733

734-
rescue TimeoutError => error
734+
rescue Timeout::Error => error
735735
raise BigBlueButtonException.new("Timeout error. Your server is probably down: \"#{@url}\". Error: #{error}")
736736

737737
rescue Exception => error

0 commit comments

Comments
 (0)