We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c348d4f commit db09598Copy full SHA for db09598
lib/instrumentation/index.js
@@ -79,7 +79,7 @@ function Instrumentation (agent) {
79
// Lazy require so that we don't have to use `require.resolve` which
80
// would fail in combination with Webpack. For more info see:
81
// https://github.com/elastic/apm-agent-nodejs/pull/957
82
- return require(`./modules/${pathName}`)(...args)
+ return require(`./modules/${pathName}.js`)(...args)
83
})
84
}
85
0 commit comments