Remove catch-all error handler in preview endpoint to help debug tests.
This commit is contained in:
parent
6d41b890db
commit
afa757f21a
|
@ -281,7 +281,6 @@ export async function preview(
|
||||||
return { previewSchema, nestedSchemaFields }
|
return { previewSchema, nestedSchemaFields }
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
const inputs: QueryEvent = {
|
const inputs: QueryEvent = {
|
||||||
appId: ctx.appId,
|
appId: ctx.appId,
|
||||||
queryVerb: query.queryVerb,
|
queryVerb: query.queryVerb,
|
||||||
|
@ -321,9 +320,6 @@ export async function preview(
|
||||||
info,
|
info,
|
||||||
extra,
|
extra,
|
||||||
}
|
}
|
||||||
} catch (err: any) {
|
|
||||||
ctx.throw(400, err)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function execute(
|
async function execute(
|
||||||
|
|
Loading…
Reference in New Issue