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
1 changed files with 34 additions and 38 deletions

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(