1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-17 10:16:57 +00:00
* Fixed: Re-enable an error handler that was mistakenly left disabled after testing.
This commit is contained in:
SirStendec 2020-03-05 18:26:45 -05:00
parent 40cae9f115
commit af8ca41212
2 changed files with 4 additions and 4 deletions

View file

@ -980,7 +980,7 @@ export default class ChatHook extends Module {
old_catch = cls.prototype.componentDidCatch;
cls.prototype.render = function() {
//try {
try {
if ( t.CommunityStackHandler ) {
const React = t.web_munch.getModule('react'),
out = old_render.call(this),
@ -992,9 +992,9 @@ export default class ChatHook extends Module {
return out;
}
/*} catch(err) {
} catch(err) {
// No op
}*/
}
return old_render.call(this);
}