forked from External/greenlight
Merge pull request #150 from zach-chai/bbb_create
rescue on bbb create if meeting already exists
This commit is contained in:
commit
97e1c6840b
|
@ -95,7 +95,11 @@ module BbbApi
|
||||||
end
|
end
|
||||||
|
|
||||||
# Create the meeting
|
# Create the meeting
|
||||||
bbb.create_meeting(options[:meeting_name], meeting_id, meeting_options)
|
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
|
# And then get meeting info
|
||||||
bbb_meeting_info = bbb.get_meeting_info( meeting_id, nil )
|
bbb_meeting_info = bbb.get_meeting_info( meeting_id, nil )
|
||||||
|
|
Loading…
Reference in New Issue