Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lambda wrapper - Always flush, even on exceptions #359

Merged
merged 1 commit into from
Mar 29, 2019

Conversation

jmehnle
Copy link
Contributor

@jmehnle jmehnle commented Mar 6, 2019

Previously a final flush would not occur if an uncaught exception occurred in the function wrapped by the Lambda wrapper. Now we always flush, just like mommy taught us!

Previously a final flush would not occur if an uncaught exception occurred in the function wrapped by the Lambda wrapper. Now we always flush, just like mommy taught us!
@jmehnle
Copy link
Contributor Author

jmehnle commented Mar 6, 2019

I see the Python 2.7 build failed, but I don't understand how my changes could've caused this. Solar flares?

@jmehnle
Copy link
Contributor Author

jmehnle commented Mar 29, 2019

Hello?

@irabinovitch
Copy link

@jmehnle Thank you for the PR. We'll have someone review this and get back to you ASAP with feedback.

@yannmh
Copy link
Member

yannmh commented Mar 29, 2019

The changes look good. Thank you.
I reran the tests and it's all passing, I am going to check in a separate PR what's making it flapping.

@yannmh yannmh merged commit bc33215 into DataDog:master Mar 29, 2019
@tianchu
Copy link
Contributor

tianchu commented Apr 2, 2019

@jmehnle Thank you for the PR. It has been included in the latest version of Datadog aws lambda layers for Python. The ARN is arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python37-metric:2. It's also available in Python27 and Python36.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants