Super small bugfixes. I was trying to run the example on the README in my npm'ish branch and there's some other issues (ie: divide by zero exception), but I couldn't see those as the console.warn didn't have the error in scope. This PR just adds catch (e) to 2 places so we can do console.warn('<message>', e).
Super small bugfixes. I was trying to run the example on the README in my npm'ish branch and there's some other issues (ie: divide by zero exception), but I couldn't see those as the
console.warn
didn't have the error in scope. This PR just addscatch (e)
to 2 places so we can doconsole.warn('<message>', e)
.