Skip to content

Wrapper errors directly sent to stderr #330

@elvis-scpl

Description

@elvis-scpl

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 can be seen

Specifications

  • Datadog Lambda Layer version: 4.66.0
  • Python version: 3.9.15

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions