Skip to content

Commit 8f3e6a2

Browse files
committed
Fix schema_exception handling in Request::deliver
1 parent b560cba commit 8f3e6a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GraphQLService.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,6 +2217,7 @@ void Request::deliver(std::launch launch, const SubscriptionName& name, const Su
22172217

22182218
document.emplace_back(std::string { strData }, response::Value());
22192219
document.emplace_back(std::string { strErrors }, ex.getErrors());
2220+
promise.set_value(std::move(document));
22202221

22212222
result = promise.get_future();
22222223
}

0 commit comments

Comments
 (0)