mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-10-19 17:32:00 +00:00
The Report Your Errors Update
* Add automatic error reporting with Sentry.io * Filter a bunch of bad errors from showing up on Sentry * Add module.hasModule method. * Fix deep_copy * Fix disallow mouse interaction with extensions * Add some new icons to the icon font for mod cards * Allow Ctrl-Shift-Clicking emotes. * Rarity sorting for experiments and unset display for unused experiments.
This commit is contained in:
parent
e3a7e3b64d
commit
d7a07a5612
32 changed files with 575 additions and 83 deletions
|
@ -516,6 +516,7 @@ export default class ChatHook extends Module {
|
|||
return ret;
|
||||
|
||||
} catch(err) {
|
||||
t.log.capture(err, {extra: e});
|
||||
return old_resub.call(i, e);
|
||||
}
|
||||
}
|
||||
|
@ -533,6 +534,7 @@ export default class ChatHook extends Module {
|
|||
return ret;
|
||||
|
||||
} catch(err) {
|
||||
t.log.capture(err, {extra: e});
|
||||
return old_ritual.call(i, e);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,6 +53,9 @@ export default class RichContent extends Module {
|
|||
}, data));
|
||||
|
||||
} catch(err) {
|
||||
if ( err.message !== 'timeout' )
|
||||
t.log.capture(err);
|
||||
|
||||
this.setState({
|
||||
loaded: true,
|
||||
error: true,
|
||||
|
|
|
@ -79,6 +79,8 @@ export default class Scroller extends Module {
|
|||
ffz_errors: errs + 1,
|
||||
ffz_total_errors: (this.state.ffz_total_errors||0) + 1
|
||||
});
|
||||
|
||||
t.log.capture(err, {extra: info});
|
||||
t.log.info('Error within Chat', err, info, errs);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
.player .extension-overlay__iframe,
|
||||
.player .extension-overlay {
|
||||
pointer-events: none !important;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue