1
0
Fork 0
mirror of synced 2024-08-02 20:01:43 +12:00

Remove catch-all error handler in preview endpoint to help debug tests.

This commit is contained in:
Sam Rose 2024-04-03 16:24:19 +01:00
parent 6d41b890db
commit afa757f21a
No known key found for this signature in database

View file

@ -281,7 +281,6 @@ export async function preview(
return { previewSchema, nestedSchemaFields }
}
try {
const inputs: QueryEvent = {
appId: ctx.appId,
queryVerb: query.queryVerb,
@ -321,9 +320,6 @@ export async function preview(
info,
extra,
}
} catch (err: any) {
ctx.throw(400, err)
}
}
async function execute(