We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f920c94 + ad33b48 commit f01b50bCopy full SHA for f01b50b
packages/app/src/cli/services/function/build.ts
@@ -127,7 +127,7 @@ export async function buildGraphqlTypes(
127
options: JSFunctionBuildOptions,
128
) {
129
if (!fun.isJavaScript) {
130
- throw new Error('GraphQL types can only be built for JavaScript functions')
+ throw new AbortError('GraphQL types can only be built for JavaScript functions')
131
}
132
133
return runWithTimer('cmd_all_timing_network_ms')(async () => {
0 commit comments