more test fixes
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user