diff --git a/backend/app/services/streams/slate_distributor.rb b/backend/app/services/streams/slate_distributor.rb index fd1903c..d49dab5 100644 --- a/backend/app/services/streams/slate_distributor.rb +++ b/backend/app/services/streams/slate_distributor.rb @@ -44,8 +44,9 @@ module Streams end @mediamtx_path = mediamtx_path - rescue Error => e - Rails.logger.warn("[SlateDistributor] session=#{@session.id} #{e.message}") + rescue StandardError => e + # Agent cloud down / timeout / disk missing: non bloccare il go-live, usa slate default. + Rails.logger.warn("[SlateDistributor] session=#{@session.id} #{e.class}: #{e.message}") @mediamtx_path = default_slate_path end