-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
This library is throwing a new error we haven't seen before:
TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Socket'
| property '_httpMessage' -> object with constructor 'ClientRequest'
--- property 'socket' closes the circle
at JSON.stringify ()
at /var/www/videomail/production/source/node_modules/errormailer/index.js:107:57
locals.errorProperties[property] = JSON.stringify(errorToBeSent[property])Let's fix this in a small PR by not calling JSON.stringify and consider another more robust npm package.
Maybe fast-safe-stringify or does anyone have a better idea?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels