Corrected name typo, appologies

This commit is contained in:
Samuel Crypto 2018-10-28 15:28:52 -04:00
parent ef036c107a
commit 196079700a

View file

@ -1,4 +1,4 @@
// Below lets us print errors, huge thanks to Jonothan @ https://stackoverflow.com/questions/18391212/is-it-not-possible-to-stringify-an-error-using-json-stringify
// Below lets us print errors, huge thanks to Jonathan @ https://stackoverflow.com/questions/18391212/is-it-not-possible-to-stringify-an-error-using-json-stringify
if (!("toJSON" in Error.prototype))
Object.defineProperty(Error.prototype, "toJSON", {
value: function() {