forked from External/greenlight
Made rescue clause more specific to catch timeouts for Server Rooms (#2245)
This commit is contained in:
parent
fe8a46cee4
commit
57bf994f1b
|
@ -73,7 +73,7 @@ class AdminsController < ApplicationController
|
||||||
|
|
||||||
begin
|
begin
|
||||||
meetings = all_running_meetings[:meetings]
|
meetings = all_running_meetings[:meetings]
|
||||||
rescue
|
rescue BigBlueButton::BigBlueButtonException
|
||||||
flash[:alert] = I18n.t("administrator.rooms.timeout", server: I18n.t("bigbluebutton"))
|
flash[:alert] = I18n.t("administrator.rooms.timeout", server: I18n.t("bigbluebutton"))
|
||||||
meetings = []
|
meetings = []
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue