Skip to content

datadog:handler not initialized #369

@fabiokr

Description

@fabiokr

Expected Behavior

Show additional info on datadog:handler not initialized error.

Actual Behavior

Only a log message is shown currently.

Steps to Reproduce the Problem

I have a Lambda function that runs with the datadog Lambda Layers on Node 14. I have checked this issues #298 #209 and my environment looks ok as far as I can tell (I use a plain Node setup, no webpack etc, and the packages are not part of package.json).

I think it might be related to this: #209 (comment)

But, it is hard to find out what exactly could be calling it out of place.

May we could have an additional debug log which prints the stack trace?

Specifications

  • Datadog Lambda Layer version: Datadog-Extension:40
  • Node version: Datadog-Node14-x:87

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions