Skip to content
This repository was archived by the owner on Dec 10, 2018. It is now read-only.
This repository was archived by the owner on Dec 10, 2018. It is now read-only.

Assertion Error When Integrating with Express.js #4

Open
@handigarde

Description

@handigarde

Integrating with Express.js causes the below assertion error:

AssertionError: false == true
at SharedHandle.add (cluster.js:97:3)
at queryServer (cluster.js:480:12)
at Worker.onmessage (cluster.js:438:7)
at ChildProcess.<anonymous> (cluster.js:692:8)
at ChildProcess.emit (events.js:129:20)
at handleMessage (child_process.js:324:10)
at Pipe.channel.onread (child_process.js:352:11)

The configuration currently being used within the express.js file is:

var datadogExpress;
if(config.advancedMonitoring === true && !/^win/.test(process.platform)) {
  var ddOptions = {
    'response_code': true,
    'method': true,
    'tags': ['touchten-platform:' + config.env]
  };
  datadogExpress = require('connect-datadog')(ddOptions);
}

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