Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Commit 9baaced

Browse files
authored
Merge pull request #78 from imrantariq/master
Lambda S3 Logs Correction. It was printing bucket name instead of obj…
2 parents ac46d14 + af8e75e commit 9baaced

File tree

1 file changed

+1
-1
lines changed
  • bundles/com.amazonaws.eclipse.lambda/code-template/lambda/s3-get-object

1 file changed

+1
-1
lines changed

bundles/com.amazonaws.eclipse.lambda/code-template/lambda/s3-get-object/handler.java.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class ${handlerClassName} implements RequestHandler<S3Event, String> {
3737
e.printStackTrace();
3838
context.getLogger().log(String.format(
3939
"Error getting object %s from bucket %s. Make sure they exist and"
40-
+ " your bucket is in the same region as this function.", bucket, key));
40+
+ " your bucket is in the same region as this function.", key, bucket));
4141
throw e;
4242
}
4343
}

0 commit comments

Comments
 (0)