From 57bf994f1beb6dad9ae1053e52717f9de0e6887a Mon Sep 17 00:00:00 2001 From: Ahmad Farhat Date: Wed, 28 Oct 2020 10:27:24 -0400 Subject: [PATCH] Made rescue clause more specific to catch timeouts for Server Rooms (#2245) --- app/controllers/admins_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admins_controller.rb b/app/controllers/admins_controller.rb index 26975f2f..d0677e0d 100644 --- a/app/controllers/admins_controller.rb +++ b/app/controllers/admins_controller.rb @@ -73,7 +73,7 @@ class AdminsController < ApplicationController begin meetings = all_running_meetings[:meetings] - rescue + rescue BigBlueButton::BigBlueButtonException flash[:alert] = I18n.t("administrator.rooms.timeout", server: I18n.t("bigbluebutton")) meetings = [] end