mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-24 15:35:46 +03:00
keep the probe failure detail in the not-configured console message
This commit is contained in:
@@ -85,7 +85,9 @@ function describeGlobalReason(
|
|||||||
case "browser":
|
case "browser":
|
||||||
return "This browser does not expose RTCPeerConnection.";
|
return "This browser does not expose RTCPeerConnection.";
|
||||||
case "not-configured":
|
case "not-configured":
|
||||||
return "No candidates or ice_servers are set under go2rtc.webrtc.";
|
return probeDetail
|
||||||
|
? `No candidates or ice_servers are set under go2rtc.webrtc, and the probe with go2rtc's defaults failed against ${probeDetail}.`
|
||||||
|
: "No candidates or ice_servers are set under go2rtc.webrtc.";
|
||||||
case "unreachable":
|
case "unreachable":
|
||||||
return `The connectivity probe failed against ${probeDetail ?? "an unknown stream"}.`;
|
return `The connectivity probe failed against ${probeDetail ?? "an unknown stream"}.`;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user