Skip to content

Commit f49aab7

Browse files
committed
Internal errors should be passed up the chain
1 parent 5257c92 commit f49aab7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

spec/Section 6 -- Execution.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,7 @@ MapSourceToResponseEvent(sourceStream, subscription, schema, variableValues):
306306
sourceValue)}.
307307
- If internal {error} was raised:
308308
- Cancel {sourceStream}.
309-
- Let {errors} be a list containing {error}.
310-
- Let {response} be an unordered map containing {errors}.
311-
- Emit {response} on {responseStream}.
312-
- Complete {responseStream} normally.
309+
- Complete {responseStream} with {error}.
313310
- Otherwise emit {response} on {responseStream}.
314311
- When {sourceStream} completes normally:
315312
- Complete {responseStream} normally.

0 commit comments

Comments
 (0)