We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe60da9 commit 3c22991Copy full SHA for 3c22991
lib/instrumentation/superagent.js
@@ -8,7 +8,7 @@
8
const http = require('http')
9
const METHODS = http.METHODS.map((method) => method.toLowerCase())
10
11
-module.exports = function instrument(shim, superagent) {
+module.exports = function instrument(agent, superagent, moduleName, shim) {
12
shim.wrapExport(superagent, function wrapRequest(shim, request) {
13
if (!shim.isFunction(request)) {
14
shim.logger.debug('Not wrapping export, expected a function.')
0 commit comments