Display notification that max concurrent sessions has been reached (GRN-41) (#317)

* <Added max concurrent sessions check>

* <Refactored some exception logic>

* <Fixed code style>

* <Generalized BBBException error message>
This commit is contained in:
John Ma
2018-11-15 14:20:46 -05:00
committed by Jesus Federico
parent 655516535c
commit de98fd0a3c
4 changed files with 16 additions and 1 deletions

View File

@ -63,6 +63,7 @@ class Room < ApplicationRecord
bbb.create_meeting(name, bbb_id, create_options)
rescue BigBlueButton::BigBlueButtonException => exc
puts "BigBlueButton failed on create: #{exc.key}: #{exc.message}"
raise exc
end
end