webkom / lego

Backend for abakus.no
https://lego.abakus.no
MIT License
54 stars 20 forks source link

Disable logging if analytics key is not set #3600

Closed norbye closed 4 months ago

norbye commented 4 months ago

The logging errors do be kinda annoying, and as far as I understand it there should be no need to try to log errors if the key is not present.

We could always disable the sentry errors for slack, but that would still entail a shit ton of unnecessary network traffic..