Skip to content

Commit ca7b02d

Browse files
authored
No longer bubble 'error' events from a-asset-items as these interfere with Karma (#5548)
1 parent 3654781 commit ca7b02d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/a-assets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class AAssetItem extends ANode {
130130
xhr: xhr
131131
});
132132
}, function handleOnError (xhr) {
133-
self.emit('error', {xhr: xhr});
133+
self.emit('error', {xhr: xhr}, false);
134134
});
135135
}
136136
}

0 commit comments

Comments
 (0)