Skip to content

Lambda wrapper - Always flush, even on exceptions#359

Merged
yannmh merged 1 commit intoDataDog:masterfrom
jmehnle:patch-1
Mar 29, 2019
Merged

Lambda wrapper - Always flush, even on exceptions#359
yannmh merged 1 commit intoDataDog:masterfrom
jmehnle:patch-1

Conversation

@jmehnle
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

jmehnle commented Mar 29, 2019

Hello?

@irabinovitch
Copy link
Copy Markdown

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

@yannmh
Copy link
Copy Markdown

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
Copy Markdown
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