We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1399f18 commit 87c0748Copy full SHA for 87c0748
Sources/AWSLambdaRuntimeCore/Lambda+LocalServer.swift
@@ -56,10 +56,12 @@ extension Lambda {
56
try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Void, any Error>) in
57
group.addTask {
58
do {
59
- try await LambdaHttpServer(invocationEndpoint: invocationEndpoint).start(continuation: continuation)
+ try await LambdaHttpServer(invocationEndpoint: invocationEndpoint).start(
60
+ continuation: continuation
61
+ )
62
} catch {
63
continuation.resume(throwing: error)
- }
64
+ }
65
}
66
67
// now that server is started, run the Lambda function itself
0 commit comments