[Glitch] Add error notice when bundle load fails
Port 6e103636f2214520812432635fd50a9633cec64c to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
7ccada36db
commit
e52a6f219f
@ -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 });
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user