🚀 Feature: Stacktrace in logs
🔖 Feature description
There should be proper error handling on CF side, error such as:
type '_OneByteString' is not a subtype of type 'Map<String, dynamic>?'
🎤 Pitch
Are not really helpful, unless you get full trace back to line number
👀 Have you spent some time to check if this issue has been raised before?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
That would be very useful
Expanding on this:
How is this useful?

There are so many function/trigger invocations, with absolutely nothing inside.
If there is no output/error...those logs are just empty.
Even though I have there plenty console log statements.
And unless you WATCH execution, those are lost. As container dies in docker and thats about it.
Logging system should be global, first of all, with labels in place...based on Module (function, storage etc) and executed entity, timestamp etc
https://github.com/appwrite/appwrite/discussions/2970
I also started a discussion about this some time ago