From af8ca412125fd392705d7c8a7253a93bed92746e Mon Sep 17 00:00:00 2001 From: SirStendec Date: Thu, 5 Mar 2020 18:26:45 -0500 Subject: [PATCH] 4.18.8 * Fixed: Re-enable an error handler that was mistakenly left disabled after testing. --- package.json | 2 +- src/sites/twitch-twilight/modules/chat/index.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 96ea692d..86e89c37 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "frankerfacez", "author": "Dan Salvato LLC", - "version": "4.18.7", + "version": "4.18.8", "description": "FrankerFaceZ is a Twitch enhancement suite.", "license": "Apache-2.0", "scripts": { diff --git a/src/sites/twitch-twilight/modules/chat/index.js b/src/sites/twitch-twilight/modules/chat/index.js index 432eadd6..902504ef 100644 --- a/src/sites/twitch-twilight/modules/chat/index.js +++ b/src/sites/twitch-twilight/modules/chat/index.js @@ -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); }