From: Mike Taylor Date: Wed, 26 Mar 2014 11:48:29 +0000 (+0000) Subject: Remove vacuous try/catch that merely sets mkws_config.error, a member X-Git-Tag: 1.0.0~1193 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=fe0fc701fdc1f17c22b70ac8233fa609a44a1540;p=mkws-moved-to-github.git Remove vacuous try/catch that merely sets mkws_config.error, a member that is never checked elsewhere in the code. In fact, this idiot-code may be the reason that some mkwsHtmlAll errors earlier in development never seemed to get reported. D'oh! --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 61f677d..1f0766a 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -776,14 +776,7 @@ function team($, teamName) { // main (function() { - try { - mkwsHtmlAll() - } - - catch (e) { - mkws_config.error = e.message; - // alert(e.message); - } + mkwsHtmlAll() })(); return that;