fix: non bloccare go-live se agent slate Hetzner è down

Se il push della cover custom all'agent fallisce (timeout/connection refused),
usa lo slate di default invece di abortire la creazione sessione.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-20 13:26:52 +02:00
co-authored by Cursor
parent 0702cb699c
commit e502844b88
@@ -44,8 +44,9 @@ module Streams
end end
@mediamtx_path = mediamtx_path @mediamtx_path = mediamtx_path
rescue Error => e rescue StandardError => e
Rails.logger.warn("[SlateDistributor] session=#{@session.id} #{e.message}") # 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 @mediamtx_path = default_slate_path
end end