Skip to content

Commit 1487e3d

Browse files
committed
f
1 parent e8b51ca commit 1487e3d

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

src/execution/execute.ts

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,13 +748,27 @@ function executeField(
748748
// Note: we don't rely on a `catch` method, but we do expect "thenable"
749749
// to take a second callback for the error case.
750750
return completed.then(undefined, (rawError) => {
751-
handleRawError(rawError, exeContext, fieldNodes, returnType, path, asyncPayloadRecord);
751+
handleRawError(
752+
rawError,
753+
exeContext,
754+
fieldNodes,
755+
returnType,
756+
path,
757+
asyncPayloadRecord,
758+
);
752759
return null;
753760
});
754761
}
755762
return completed;
756763
} catch (rawError) {
757-
handleRawError(rawError, exeContext, fieldNodes, returnType, path, asyncPayloadRecord);
764+
handleRawError(
765+
rawError,
766+
exeContext,
767+
fieldNodes,
768+
returnType,
769+
path,
770+
asyncPayloadRecord,
771+
);
758772
return null;
759773
}
760774
}

0 commit comments

Comments
 (0)