Skip to content

Commit 0fbd844

Browse files
authored
Don't log work fetching failure at error. (#313)
1 parent 2c3b245 commit 0fbd844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AWSLambdaRuntimeCore/LambdaRunner.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ internal final class LambdaRunner {
6464
// 1. request invocation from lambda runtime engine
6565
self.isGettingNextInvocation = true
6666
return self.runtimeClient.getNextInvocation(logger: logger).peekError { error in
67-
logger.error("could not fetch work from lambda runtime engine: \(error)")
67+
logger.debug("could not fetch work from lambda runtime engine: \(error)")
6868
}.flatMap { invocation, bytes in
6969
// 2. send invocation to handler
7070
self.isGettingNextInvocation = false

0 commit comments

Comments
 (0)