mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-26 04:28:31 +00:00
4.31.1
* Fixed: Infinite loop bug with the `<markdown />` Vue component. * Fixed: Bug with the method that calculates the chat input height causing chat input to disappear completely. * Changed: When an add-on fails to enable, a slightly better message will be logged to console.
This commit is contained in:
parent
e704677e84
commit
a35387abcf
5 changed files with 55 additions and 29 deletions
|
@ -85,7 +85,10 @@ export default class AddonManager extends Module {
|
|||
// main script's execution.
|
||||
for(const id of this.enabled_addons)
|
||||
if ( this.hasAddon(id) && this.doesAddonTarget(id) )
|
||||
this._enableAddon(id);
|
||||
this._enableAddon(id).catch(err => {
|
||||
this.log.error(`An error occured while enabling the add-on "${id}":` , err);
|
||||
this.log.capture(err);
|
||||
});
|
||||
|
||||
this.emit(':ready');
|
||||
});
|
||||
|
@ -353,7 +356,10 @@ export default class AddonManager extends Module {
|
|||
|
||||
// Actually load it.
|
||||
if ( this.doesAddonTarget(id) )
|
||||
this._enableAddon(id);
|
||||
this._enableAddon(id).catch(err => {
|
||||
this.log.error(`An error occured while enabling the add-on "${id}":` , err);
|
||||
this.log.capture(err);
|
||||
});
|
||||
}
|
||||
|
||||
async disableAddon(id, save = true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue