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

Lambda S3 Logs Correction. It was printing bucket name instead of obj… #78

Merged
merged 1 commit into from
Aug 8, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class ${handlerClassName} implements RequestHandler<S3Event, String> {
e.printStackTrace();
context.getLogger().log(String.format(
"Error getting object %s from bucket %s. Make sure they exist and"
+ " your bucket is in the same region as this function.", bucket, key));
+ " your bucket is in the same region as this function.", key, bucket));
throw e;
}
}
Expand Down