RostlinoOriginal post
Rank 2: Process
There is an issue with the Appwrite Sites Logs, JSON.stringify cannot be used on circular references, circular reference is for example this:
JavaScript
var a = {};a.b = a;Converting circular structure to JSON
--> starting at object with constructor 'Socket'
| property 'parser' -> object with constructor 'HTTPParser'
--- property 'socket' closes the circle
We are recommending to implement https://github.com/sindresorhus/safe-stringify for the Logger in the Appwrite Sites Logs
Summary
Title: Issue with Appwrite Sites Logs due to Circular References
Developers encountered a problem in the Appwrite Sites Logs related to circular references, which causes JSON.stringify to fail. They suggest implementing a safe alternative like https://github.com/sindresorhus/safe-stringify for the Logger to avoid this issue.