appwrite icon indicating copy to clipboard operation
appwrite copied to clipboard

🚀 Feature: Stacktrace in logs

Open r-dev-limited opened this issue 3 years ago • 3 comments

🔖 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?

r-dev-limited avatar May 27 '22 01:05 r-dev-limited

That would be very useful

karniv00l avatar Jul 19 '22 06:07 karniv00l

Expanding on this:

How is this useful? Screen Shot 2022-07-24 at 3 00 39 PM

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

radvansky-tomas avatar Jul 24 '22 03:07 radvansky-tomas

https://github.com/appwrite/appwrite/discussions/2970

I also started a discussion about this some time ago

s3ppo avatar Jul 24 '22 16:07 s3ppo