Skip to content

Commit c2cee1b

Browse files
authored
fix(executor): let aborted async paths reach finish (#4663)
1 parent d03118a commit c2cee1b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/execution/Executor.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,12 +316,10 @@ export class Executor<
316316
const promise = result.then(
317317
(data) => {
318318
maybeRemoveExternalAbortListener();
319-
this.throwIfAborted();
320319
return this.buildResponse(data);
321320
},
322321
(error: unknown) => {
323322
maybeRemoveExternalAbortListener();
324-
this.throwIfAborted();
325323
this.collectedErrors.add(ensureGraphQLError(error), undefined);
326324
return this.buildResponse(null);
327325
},

0 commit comments

Comments
 (0)