robalb / morsechat

an online morse code chat
http://morse.halb.it/
GNU General Public License v3.0
62 stars 4 forks source link

log clientside errors to server #18

Closed robalb closed 2 years ago

robalb commented 2 years ago

https://developer.mozilla.org/en-US/docs/Web/API/Window/error_event

create dedicated api endpoint for the collection of clientside errors, that receives a log, validates it's autenticity, and then logs it, so that loki can receive it

this link is interesting, but looks incredibly unsafe lol https://stackoverflow.com/questions/67316535/send-logs-directly-to-loki-without-use-of-agents