Corrected name typo, appologies
This commit is contained in:
parent
ef036c107a
commit
196079700a
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
if (!("toJSON" in Error.prototype))
|
||||||
Object.defineProperty(Error.prototype, "toJSON", {
|
Object.defineProperty(Error.prototype, "toJSON", {
|
||||||
value: function() {
|
value: function() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue