You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When instrumenting some older libraries, it appears that newrelic does not properly handle things and causes a crash. In this case, the instrumentation is happening where opts.headers is null instead of an object or undefined. null does not get handled properly by defaulting and throws an error when it checks for the existence of specific headers.
Expected Behavior
The system should handle opts.headers being null the same as undefined and thus properly default it to an empty object for handling. NOTE: # ( Tell us what you expected to happen. )
It's difficult to reproduce as the situation is very specifically dependent on both the system we use and the way we use it (which I do not feel comfortable sharing here). NOTE: # ( Please be as specific as possible. ) TIP: # ( Link a sample application that demonstrates the issue. )
Your Environment
ex: Browser name and version:
ex: Node version:
ex: Operating System and version:
Additional context
The text was updated successfully, but these errors were encountered:
Description
When instrumenting some older libraries, it appears that newrelic does not properly handle things and causes a crash. In this case, the instrumentation is happening where
opts.headers
isnull
instead of an object orundefined
.null
does not get handled properly by defaulting and throws an error when it checks for the existence of specific headers.Expected Behavior
The system should handle
opts.headers
beingnull
the same asundefined
and thus properly default it to an empty object for handling.NOTE: # ( Tell us what you expected to happen. )
Troubleshooting or NR Diag results
Steps to Reproduce
It's difficult to reproduce as the situation is very specifically dependent on both the system we use and the way we use it (which I do not feel comfortable sharing here).
NOTE: # ( Please be as specific as possible. )
TIP: # ( Link a sample application that demonstrates the issue. )
Your Environment
Additional context
The text was updated successfully, but these errors were encountered: