safe-json-stringify icon indicating copy to clipboard operation
safe-json-stringify copied to clipboard

Deal with "Object doesn't support property or method 'error'"

Open binarykitchen opened this issue 6 years ago • 6 comments

Sometimes your function still throws me this error

Object doesn't support property or method 'error'

No idea what arguments have been used (form my production site with lots of visits) but since you claim safe-json-stringify is safe, would be good to cover this case as well :)

binarykitchen avatar Apr 17 '18 00:04 binarykitchen

Btw that error also has this error number: -2146827850

Plus user agent is

{
 "userAgent": "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0;  Trident/5.0)"
}

Hope this helps narrowing down ...

binarykitchen avatar Apr 17 '18 00:04 binarykitchen

It’s good that you’re enjoying the free software. I would suggest you investigate exact steps to reproduce. And if you want to be really awsome you can du a pull request with a test and a fix for the problem.

Cheers, Allan

Den 17. apr. 2018 kl. 02.19 skrev Michael Heuberger [email protected]:

Btw that error also has this error number: -2146827850

Plus user agent is

{ "userAgent": "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0; Trident/5.0)" } Hope this helps narrowing down ...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ebdrup avatar Apr 17 '18 05:04 ebdrup

sure allan, nice wordings ;)

just sharing knowledge here. will keep this tread up to date when i know more.

binarykitchen avatar Apr 17 '18 08:04 binarykitchen

@binarykitchen Can you provide a stack trace? That is, the full error object, not just the message-part.

ronkorving avatar Jun 11 '20 05:06 ronkorving

well i dont remember that. it's been two years ago ... next time i ll try to provide more info.

binarykitchen avatar Jun 11 '20 06:06 binarykitchen

Yeah, I understand. Sorry for even asking :D lol

ronkorving avatar Jun 11 '20 07:06 ronkorving