We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46e76f3 commit 299b9bcCopy full SHA for 299b9bc
Sources/AWSLambdaRuntime/LambdaRuntime.swift
@@ -47,7 +47,10 @@ public final class LambdaRuntime<Handler>: @unchecked Sendable where Handler: St
47
handler: sending Handler,
48
eventLoop: EventLoop = Lambda.defaultEventLoop,
49
logger: Logger = Logger(label: "LambdaRuntime")
50
- ) throws(LambdaRuntimeError) {
+ ) throws {
51
+ // technically, this initializer only throws LambdaRuntime Error but the below line crashes the compiler on Linux
52
+ // https://github.com/swiftlang/swift/issues/80020
53
+ // ) throws(LambdaRuntimeError) {
54
55
do {
56
// try _singleton.withLock {
0 commit comments