Skip to content

Commit 99500be

Browse files
Fixes #23 Response object is too long (#25)
If the response message is over 4KB the stack will fail to create. The error message is CopyCustomResource | CREATE_FAILED | Response object is too long. There is no need to respond with a success message since nothing reads it.
1 parent f0612f0 commit 99500be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/witch/witch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ exports.staticHandler = function(event, context) {
2828
ACL: "private",
2929
}).promise();
3030
})).then((msg) => {
31-
respond(event, context, SUCCESS, {Message: msg});
31+
respond(event, context, SUCCESS, {});
3232
}).catch(err => {
3333
respond(event, context, FAILED, {Message: err});
3434
});

0 commit comments

Comments
 (0)