Reputation: 2743
When I uncheck "Preserve log" in the console settings, I don't see the error below. Why are they related?
Upvotes: 0
Views: 2544
Reputation: 26017
When Preserve Log is enabled, the Console preserves messages until you explicitly clear it. When it's disabled, the Console clears messages on page loads.
So, it looks like there's some code that runs just before you navigate to a new page, and that code is throwing an error. So while the error technically does get displayed (for a split-second) in both scenarios, it's probably just getting erased before you can see it with your eyes when you have Preserve Log disabled.
Upvotes: 1