feat(bot): don't send internal error messages for some errors that should be on sentry
This commit is contained in:
@@ -231,6 +231,8 @@ public class Bot
|
||||
if (_config.DisableErrorReporting)
|
||||
return;
|
||||
|
||||
if (!exc.ShowToUser()) return;
|
||||
|
||||
// Once we've sent it to Sentry, report it to the user (if we have permission to)
|
||||
var reportChannel = handler.ErrorChannelFor(evt, _config.ClientId);
|
||||
if (reportChannel == null)
|
||||
|
Reference in New Issue
Block a user