https://js.hsleadflows.net/leadflows.js overrides existing window.onerror handler.
It breaks our integration with error logging library Rollbar.
leadflows.js should keep existing window.onerror handler and call it on error.
Here is old similar question https://community.hubspot.com/t5/APIs-Integrations/How-to-disable-error-logging-in-LeadIn/m-p/238152 But looks like it was never resolved.
I don’t know what label to choose for my question. None of them make sense to me. But label field is required.
Hey @aleksandr-swoop,
Could you share more in details and provide screenshots on where you’re seeing that leadflow.js overrides window.onerror?
Hey @WendyGoh!
Here is screenshot
Please let me know if you need more details.
Hey @aleksandr-swoop,
Thanks for sharing the screenshot with me.
I’ll have to check in with our internal team on this and I’ll keep you posted here!
Hey @aleksandr-swoop,
Just an update here. I’m able to confirm that currently this is how HubSpot manage errors. That said, may be your team can try exploring this option -스포츠중계 고화질 - 해외축구중계, 무료 야구중계, 실시간 농구중계, 라이브 F1생중계, 4k 1080p화질 무료중계 to work around the problem.
Let me know your thoughts!
Hey @WendyGoh
Thank you for the article! But looks like this how HubSpot should implement it.
We use Rollbar library which is out control and it relies on window.onerror. It handles window.onerror correct way as described in article. But then HubSpot just overrides it.
We cannot delay and load HubSpot first and then Rollbar.
Thanks,
Aleksandr
Hey @aleksandr-swoop,
Gotcha. Thank you for the clarification.
I’ll check in with my team and will definitely keep you posted here.
Hey @WendyGoh!
How is it going? It stuck here for couple of weeks.
Thanks,
Aleksandr
Hey @aleksandr-swoop,
I’d like to assure you that our internal team is aware of this issue and is looking to push a fix for this. I’ll keep you posted once there’s an update.
Hey @aleksandr-swoop,
Just an update here! Our internal team has pushed a fix for this. Could you check and see if you’re seeing seeing the issue?
Hi @WendyGoh!
Thank you! I confirm it is fixed now.
Thanks,
Aleksandr