Title: Wrapper errors directly sent to stderr · Issue #330 · DataDog/datadog-lambda-python · GitHub
Open Graph Title: Wrapper errors directly sent to stderr · Issue #330 · DataDog/datadog-lambda-python
X Title: Wrapper errors directly sent to stderr · Issue #330 · DataDog/datadog-lambda-python
Description: Expected Behavior Logs being sent to logger, on which I can format and configure Actual Behavior Use of traceback.print_exc() as seen in: 1, 2, 3... Steps to Reproduce the Problem 1.Only is needed to have any error in the wrapper that it...
Open Graph Description: Expected Behavior Logs being sent to logger, on which I can format and configure Actual Behavior Use of traceback.print_exc() as seen in: 1, 2, 3... Steps to Reproduce the Problem 1.Only is needed ...
X Description: Expected Behavior Logs being sent to logger, on which I can format and configure Actual Behavior Use of traceback.print_exc() as seen in: 1, 2, 3... Steps to Reproduce the Problem 1.Only is needed ...
Opengraph URL: https://github.com/DataDog/datadog-lambda-python/issues/330
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrapper errors directly sent to stderr","articleBody":"## Expected Behavior\r\n\r\nLogs being sent to logger, on which I can format and configure\r\n\r\n## Actual Behavior\r\n\r\nUse of traceback.print_exc() as seen in: [1](https://github.com/DataDog/datadog-lambda-python/blob/main/datadog_lambda/wrapper.py#L348), [2](https://github.com/DataDog/datadog-lambda-python/blob/main/datadog_lambda/wrapper.py#L284), [3](https://github.com/DataDog/datadog-lambda-python/blob/main/datadog_lambda/wrapper.py#L198)...\r\n\r\n## Steps to Reproduce the Problem\r\n\r\n 1.Only is needed to have any error in the wrapper that it can be seen\r\n\r\n## Specifications\r\n\r\n - Datadog Lambda Layer version: 4.66.0\r\n - Python version: 3.9.15\r\n ","author":{"url":"https://github.com/elvis-scpl","@type":"Person","name":"elvis-scpl"},"datePublished":"2023-05-08T15:53:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/330/datadog-lambda-python/issues/330"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:33027d30-cf45-1711-e85c-5514b1125aa0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF1E:1D3FEA:FF8CDB:14A6EEB:69906FAD |
| html-safe-nonce | 19ed9be7c4dbcf01d944e761743b18127047a2d946ef66f31cdfb20b2a950e71 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjFFOjFEM0ZFQTpGRjhDREI6MTRBNkVFQjo2OTkwNkZBRCIsInZpc2l0b3JfaWQiOiIyMjY3MDIzNzA0OTk0MTE1NTAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 70b70bb0fa3380d273a75bc755e18188f7a4b0e72734d363d86a234d36f3fd46 |
| hovercard-subject-tag | issue:1700506969 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DataDog/datadog-lambda-python/330/issue_layout |
| twitter:image | https://opengraph.githubassets.com/64333a4240d35355711144c230d30be75c23b61e42754f51f31f449559cdf323/DataDog/datadog-lambda-python/issues/330 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/64333a4240d35355711144c230d30be75c23b61e42754f51f31f449559cdf323/DataDog/datadog-lambda-python/issues/330 |
| og:image:alt | Expected Behavior Logs being sent to logger, on which I can format and configure Actual Behavior Use of traceback.print_exc() as seen in: 1, 2, 3... Steps to Reproduce the Problem 1.Only is needed ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | elvis-scpl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/DataDog/datadog-lambda-python git https://github.com/DataDog/datadog-lambda-python.git |
| octolytics-dimension-user_id | 365230 |
| octolytics-dimension-user_login | DataDog |
| octolytics-dimension-repository_id | 183265904 |
| octolytics-dimension-repository_nwo | DataDog/datadog-lambda-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 183265904 |
| octolytics-dimension-repository_network_root_nwo | DataDog/datadog-lambda-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width