Skip to content

Commit 530be19

Browse files
committed
Fix deprecated TimeoutError constant
1 parent 0391e57 commit 530be19

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
@@ -759,7 +759,7 @@ def send_request(url, data=nil)
759759
end
760760
puts "BigBlueButtonAPI: URL response = #{response.body}" if @debug
761761

762-
rescue TimeoutError => error
762+
rescue Timeout::Error => error
763763
exception = BigBlueButtonException.new("Timeout error. Your server is probably down: \"#{@url}\". Error: #{error}")
764764
exception.key = 'TimeoutError'
765765
raise exception

0 commit comments

Comments
 (0)