Solutionunvalidated
document.getElementById("sentry-script").addEventListener("load", () => { — By using the defer attribute. Outcome: the script will only execute, and Sentry will initialize, once the full Sentry resource has been completely loaded.
56bba03d-10c7-4b9a-81e2-36f5fca2ac20
document.getElementById("sentry-script").addEventListener("load", () => { — By using the defer attribute. Outcome: the script will only execute, and Sentry will initialize, once the full Sentry resource has been completely loaded.