Made rescue clause more specific to catch timeouts for Server Rooms (#2245)

This commit is contained in:
Ahmad Farhat 2020-10-28 10:27:24 -04:00 committed by GitHub
parent fe8a46cee4
commit 57bf994f1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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