Uncaught (in promise) DOMException

Hi all,
I’m getting the following error in devtools for some reason:

Uncaught (in promise) DOMException

image

It leads me to this script:

https://github.com/discourse/discourse/blob/6dfb2165aedd3dc42faabb6edfca6e5fcdb1b131/app/assets/javascripts/service-worker.js.erb

Discourse version: 2.4.0.beta4
What could be the problem?

1 Like

That means an asset failed to cache for offline usage, and most of times is just ad blocking leading to failure of the google analytics script. Can also be caused by a cache full, but in either case it doesn’t affect Discourse usage or any of it’s features.

3 Likes