fix(share): handle NotFoundError for non-shared sessions in sync (#6634)

This commit is contained in:
Luke Parker
2026-01-02 04:16:12 -06:00
committed by GitHub
parent 038cff4a93
commit c600114db9
+1 -1
View File
@@ -127,7 +127,7 @@ export namespace ShareNext {
const queued = queue.get(sessionID) const queued = queue.get(sessionID)
if (!queued) return if (!queued) return
queue.delete(sessionID) queue.delete(sessionID)
const share = await get(sessionID) const share = await get(sessionID).catch(() => undefined)
if (!share) return if (!share) return
await fetch(`${await url()}/api/share/${share.id}/sync`, { await fetch(`${await url()}/api/share/${share.id}/sync`, {