We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dcb4b3 commit f2d94a2Copy full SHA for f2d94a2
Sources/AWSLambdaRuntime/LambdaRuntimeClient.swift
@@ -348,8 +348,7 @@ final actor LambdaRuntimeClient: LambdaRuntimeClientProtocol {
348
return handler
349
350
case .lostConnection:
351
- // this should never happen
352
- fatalError("Lost connection to Lambda service")
+ throw LambdaRuntimeError(code: .connectionToControlPlaneLost)
353
}
354
355
let bootstrap = ClientBootstrap(group: self.eventLoop)
0 commit comments