momentum-mod / discord-bot

The Discord bot used in the official Momentum Mod Discord Server.
https://discord.gg/momentummod
MIT License
9 stars 7 forks source link

Error/Exception Reporting to Sentry #136

Open Gocnak opened 2 years ago

Gocnak commented 2 years ago

We have the game, and eventually the backend and frontend of the main site reporting to Sentry for any issues. We should extend that to also have the bot. Will need some coordination with me, but they have a very nice .NET integration we can use for this. Will need collaboration with me to create the project and get the DSN but once in place, should just be a matter of feeding the SDK the values from config.

hexaflexahexagon commented 2 years ago

Since the bot is fully open source (unlike the game), should the feed be public? It'd make more people able to work on fixes than just team members with no NDA stuff. Dunno if that's possible though thru sentry.

Gocnak commented 2 years ago

Not possible through Sentry unfortunately, just with the nature of having a project that has NDA'd code behind it we want to be very careful even linking to it.

This is the internal bot, we can probably set up the public bot to post automatic issues to the repo when it hits any.