There is an issue with the Appwrite Sites Logs, JSON.stringify cannot be used on circular references, circular reference is for example this:
TypeScript
var a = {};
a.b = a;
TypeScript
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
TL;DR
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.Create a GitHub issue for this instead π
Recommended threads
- Migration and Function glitch
I am trying to migrate from non pro appwrite project to pro appwrite project all my data but it's stuck in processing.
- Unable to signup to appwrite cloud
When attempting to create an online cloud account on appwrite.io, I get the following message : "This email address must already be in its canonical form. Pleas...
- Email address must be in its canonical f...
Hello, Recently I was trying to signup with my GitHub account with appwrite account for availing the student benifits but while trying to signup I saw such erro...