Browse Source

more test fixes

Dax Raad 5 months ago
parent
commit
b0ea7a5aa7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/opencode/src/sync/index.ts

+ 2 - 1
packages/opencode/src/sync/index.ts

@@ -311,7 +311,8 @@ function process<Def extends Definition>(
 
 
   const projector = projectors.get(def)
   const projector = projectors.get(def)
   if (!projector) {
   if (!projector) {
-    throw new Error(`Projector not found for event: ${def.type}`)
+    if (!def.type.includes("next")) throw new Error(`Projector not found for event: ${def.type}`)
+    return
   }
   }
 
 
   Database.transaction((tx) => {
   Database.transaction((tx) => {