diff --git a/src/components/Live/LiveKitBroadcast.jsx b/src/components/Live/LiveKitBroadcast.jsx index 65fe273..b87098e 100644 --- a/src/components/Live/LiveKitBroadcast.jsx +++ b/src/components/Live/LiveKitBroadcast.jsx @@ -156,8 +156,14 @@ export default function LiveKitBroadcast({ coords, onClose, onStreamCreated }) { if (res.ok && !save) { window.dispatchEvent(new CustomEvent("live-post-deleted", { detail: { post_id: livePostId } })); } + if (!res.ok) { + const errText = await res.text(); + console.error("[LiveKit] Finalize failed:", res.status, errText); + alert("We couldn't save the live post. Please verify your email and try again."); + } } catch (err) { console.error("[LiveKit] Failed to finalize live post:", err); + alert("We couldn't save the live post. Please try again."); } } onClose?.();