forked from kaievns/express-yields
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
I ran into this when doing Datadog tracing with this library enabled. The function name just shows up as newFn in the Datadog APM trace view which isn't very helpful. Instead it would be good to copy the name property from the internal function the same way you copy the length value currently (with Object.defineProperty), then it would show up as cookieParser or compression or whatever instead of newFn.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels