From 5c6a001bce91f2eb4177a470a6af39715a66b7d5 Mon Sep 17 00:00:00 2001 From: Noeri Huisman <8823461+mrxz@users.noreply.github.com> Date: Thu, 27 Jun 2024 13:19:20 +0200 Subject: [PATCH] No longer bubble 'error' events from a-asset-items as these interfere with Karma --- src/core/a-assets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/a-assets.js b/src/core/a-assets.js index 514a4e9881d..a296a0dbc46 100644 --- a/src/core/a-assets.js +++ b/src/core/a-assets.js @@ -130,7 +130,7 @@ class AAssetItem extends ANode { xhr: xhr }); }, function handleOnError (xhr) { - self.emit('error', {xhr: xhr}); + self.emit('error', {xhr: xhr}, false); }); } }