Merge pull request #150 from zach-chai/bbb_create

rescue on bbb create if meeting already exists
This commit is contained in:
Zachary Chai 2017-03-21 10:41:37 -04:00 committed by GitHub
commit 97e1c6840b
1 changed files with 5 additions and 1 deletions

View File

@ -95,7 +95,11 @@ module BbbApi
end
# Create the meeting
begin
bbb.create_meeting(options[:meeting_name], meeting_id, meeting_options)
rescue BigBlueButton::BigBlueButtonException => exc
logger.info "BBB error on create #{exc.key}: #{exc.message}"
end
# And then get meeting info
bbb_meeting_info = bbb.get_meeting_info( meeting_id, nil )