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 b662024 commit ab77e5aCopy full SHA for ab77e5a
Sources/AWSLambdaRuntime/Lambda+LocalServer.swift
@@ -428,11 +428,11 @@ internal struct LambdaHTTPServer {
428
}
429
430
} catch let error as LambdaHTTPServer.Pool<LambdaHTTPServer.LocalServerResponse>.PoolError {
431
- logger.trace("PoolError caught")
+ logger.trace("PoolError caught", metadata: ["error": "\(error)"])
432
// detect concurrent invocations of POST and gently decline the requests while we're processing one.
433
let response = LocalServerResponse(
434
id: requestId,
435
- status: .badRequest,
+ status: .internalServerError,
436
body: ByteBuffer(
437
string:
438
"\(error): It is not allowed to invoke multiple Lambda function executions in parallel. (The Lambda runtime environment on AWS will never do that)"
0 commit comments