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
We are seeing the following JS error pull through to our Airbrake dashboard, it's very common - occurring every hour or so:
TypeError: Cannot assign to read only property 'debug' of object '#<Object>'
This only seems to occur on our paid traffic links, eg: https://www.papier.com/stationery/calendar-year-diaries/?utm_medium=Paid_Display_Retargeting&utm_source=Conversant&utm_campaign=UK[DISP[ALL_PROD[RET]:Conversant
The trace for the error comes from this file: @airbrake/browser/esm/instrumentation/console.js:21
And the line is console[m] = newFn;
from what I have read it would be possible to do this using Object.defineProperty but we're not sure what other implications that would have.
🔬 Minimal Reproduction
We find it very difficult to reproduce this ourselves, which is the problem in itself, the only clue we have to run with is that this is only occurring with customers who come to our website via the paid traffic links (like above)
🔥 Exception or Error
TypeError: Cannot assign to read only property 'debug' of object '#<Object>'
🌍 Your Environment
@airbrake/* version: 2.1.8
Anything else relevant?
N/A
The text was updated successfully, but these errors were encountered:
🐞 bug report
Affected Package
The issue is caused by package @airbrake/browser
Is this a regression?
N/A
Description
We are seeing the following JS error pull through to our Airbrake dashboard, it's very common - occurring every hour or so:
TypeError: Cannot assign to read only property 'debug' of object '#<Object>'
This only seems to occur on our paid traffic links, eg:
https://www.papier.com/stationery/calendar-year-diaries/?utm_medium=Paid_Display_Retargeting&utm_source=Conversant&utm_campaign=UK[DISP[ALL_PROD[RET]:Conversant
The trace for the error comes from this file:
@airbrake/browser/esm/instrumentation/console.js:21
And the line is
console[m] = newFn;
from what I have read it would be possible to do this using
Object.defineProperty
but we're not sure what other implications that would have.🔬 Minimal Reproduction
We find it very difficult to reproduce this ourselves, which is the problem in itself, the only clue we have to run with is that this is only occurring with customers who come to our website via the paid traffic links (like above)
🔥 Exception or Error
TypeError: Cannot assign to read only property 'debug' of object '#<Object>'
🌍 Your Environment
@airbrake/* version:
2.1.8
Anything else relevant?
N/A
The text was updated successfully, but these errors were encountered: