Swetrix / swetrix

Cookieless, open source and privacy-first web analytics service
https://swetrix.com
GNU Affero General Public License v3.0
323 stars 30 forks source link

rfc: Support for additional Error Data #330

Open Alfagun74 opened 1 month ago

Alfagun74 commented 1 month ago

Dupe Check

Describe the solution you'd like?

Currently the message is the only free field in the errors and it makes things difficult and very awful to show in the ui.

Support seperate fields in Error Events for:

then show them more beautifully in the error ui.

Additional context

No response

How important is this feature to you?

5 (Can't work without it!)

Alfagun74 commented 1 month ago

image

putting the entire 2000 character message as bold h2 title is not a great idea either

Blaumaus commented 1 month ago

We have metadata for custom events, something similar should be implemented for error events too

KaelWD commented 3 weeks ago

I have a global error handler so most errors aren't actually caught by trackErrors(). I can report them with swetrix.trackError() but without stack traces that's pretty much useless.