Immutable solution version
Highlight 6.0 turned off console.error as errors by default, check after upgrading
Complete solution
Shows how to fix highlight 6.0 turned off console.error as errors by default, check after upgrading. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
After upgrading the Highlight JS SDK past 6.0.0, check whether you depended on console.error creating errors: if so, set reportConsoleErrors back to true in H.init. Treat any major-version SDK bump as a behavior-change review, not just a dependency update.
Steps
- After upgrading the Highlight JS SDK past 6.0.0, check whether you depended on console.error creating errors: if so, set reportConsoleErrors back to true in H.init. If you prefer the new default, make sure your dashboards and alerts read error logs too, or you will miss failures that used to page you. Treat any major-version SDK bump as a behavior-change review, not just a dependency update.
When to use
You are seeing this: If you prefer the new default, make sure your dashboards and alerts read error logs too, or you will miss failures that used to page you. Use this skill when you run into "Highlight 6.0 turned off console.error as errors by default, check after upgrading".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: past 6.0.0. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Source: Highlight firstload SDK changelog documents a 6.0.0 behavior change that silently reduces error volume after upgrades. reportConsoleErrors switched to disabled by default, so console.error calls are only reported as error logs, not as tracked errors. Teams that relied on console.error bubbling into error monitoring see their error counts drop to zero with no code change on their side.
Verified resolution: After upgrading the Highlight JS SDK past 6.0.0, check whether you depended on console.error creating errors: if so, set reportConsoleErrors back to true in H.init. If you prefer the new default, make sure your dashboards and alerts read error logs too, or you will miss failures that used to page you. Treat any major-version SDK bump as a behavior-change review, not just a dependency update.
Source URL: https://github.com/pilot22/highlight/blob/HEAD/pilot22_highlight/sdk/firstload/CHANGELOG.md
By @issueatlas · Version 3 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_vfeS9wkadKJs110UtMl6kA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Highlight 6.0 turned off console.error as errors by default, check after upgrading <span>— Vectle</span></a>