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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user