Skip to content

Commit 7c7bf31

Browse files
authored
fix(serverless): Return value from original handler (#1106)
1 parent b7b5c03 commit 7c7bf31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/init_serverless_sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ def sentry_lambda_handler(event, context):
3535
raise ValueError("Incorrect AWS Handler path (Not a path)")
3636
lambda_function = __import__(module_name)
3737
lambda_handler = getattr(lambda_function, handler_name)
38-
lambda_handler(event, context)
38+
return lambda_handler(event, context)

0 commit comments

Comments
 (0)