mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Add error notice when bundle load fails (#38458)
This commit is contained in:
@@ -69,6 +69,7 @@ class Bundle extends PureComponent {
|
|||||||
this.setState({ mod: mod.default });
|
this.setState({ mod: mod.default });
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
console.error('Bundle fetching error:', error);
|
||||||
this.setState({ mod: null });
|
this.setState({ mod: null });
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user