Add error notice when bundle load fails (#38458)
This commit is contained in:
parent
e303c89e4d
commit
6e103636f2
@ -69,6 +69,7 @@ class Bundle extends PureComponent {
|
||||
this.setState({ mod: mod.default });
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error('Bundle fetching error:', error);
|
||||
this.setState({ mod: null });
|
||||
});
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user