src.nth.io/

summaryrefslogtreecommitdiff
path: root/scrypted/diagnostic.ts
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-06-21 11:16:18 -0500
committerLuke Hoersten <[email protected]>2026-06-21 11:16:18 -0500
commit39b04799c8ec4c2fa74ab4468ef89550e40aebfd (patch)
treeb9ea408f133ebb025d9bb965c2f4e3129bd98a5f /scrypted/diagnostic.ts
parent796bc17cea7ee8d74e03b9eeb266bedf89240fc3 (diff)
scrypted: log attachListener early-return when no camera assigned
Silent early-return at 'if (!v.cameraId) return;' makes a brand-new viewport with no camera selected look identical (in the console) to one that subscribed successfully — there's no positive or negative signal until you try to fire a camera event. After observing a fresh viewport produce zero output on a doorbell press, switching the early-return to a warning that says 'no camera assigned — open Settings and pick a camera; subscription skipped' so the missing configuration becomes self-evident.
Diffstat (limited to 'scrypted/diagnostic.ts')
0 files changed, 0 insertions, 0 deletions