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
fix(nextjs): Handle pathname being passed in object in instrumentServer (#5782)
In nextjs version 12.2.6, the signature of `findPageComponents` which we wrap in `instrumentServer` changed[1], from accepting individual parameters to accepting an options object. This changes our wrapping to accommodate that, and as a result fixes transactions started by `instrumentServer` being parameterized as `[ object Object ]`. For backwards compatibility with older versions of next, individual parameters also continue to be accepted.
[1] vercel/next.js@5f95b6b#diff-2b8e3503c1bebf856610a5551d9c5996435b99f45db389d4eeac1b671518875eR242-R248
0 commit comments