mirror of
https://github.com/koush/scrypted.git
synced 2026-05-05 13:50:27 +01:00
* server: guard plugin-repl against stale nativeId The REPL handler destructured nativeIds.get(filter) directly, which threw an unhandledRejection TypeError when filter was a nativeId for a device that had been removed since the UI rendered the REPL link. Break out of the chain walk when the lookup misses instead. Assisted-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Sergey Vilgelm <sergey@vilgelm.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Signed-off-by: Sergey Vilgelm <sergey@vilgelm.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>