airbrake / airbrake-js

Airbrake JavaScript Notifier
https://airbrake.io
MIT License
422 stars 139 forks source link

TypeError: undefined is not an object (evaluating 'e.searchParams.append') #1000

Closed paulvonber closed 3 years ago

paulvonber commented 3 years ago

🐞 bug report

Affected Package

"@airbrake/browser": "^2.1.3"

Description

Seems like after upgrading to v2.1.3 strange things appear in error notifier, so shortly error notifier producing errors by itself Here few screenshots from airbrake panel: image image

Would be nice if it can be fixed as seems like it's crunching quiet a bit of quota everyday :)

scottsbaldwin commented 3 years ago

@kyrylo can you please take a look at this?

itb2k13 commented 3 years ago

Getting this also - I think connected with older browsers not having 'Object.entries' - and then the notifier creates it's own error which creates another error and so forth.

image

itb2k13 commented 3 years ago

Yeah - we also get the 'undefined is not a function' too - same file. v^2.1.3 Not sure if this screener will help track it down:

image

kyrylo commented 3 years ago

@itb2k13 great find, I think that's exactly the problem here.

kyrylo commented 3 years ago

Should be fixed in v2.1.4.