Revert "fix: catch some discord bot errors"

This reverts commit 64f07a8c02.
This commit is contained in:
goat 2020-07-20 18:31:40 +02:00
parent 64f07a8c02
commit 5410981beb
3 changed files with 17 additions and 31 deletions

View file

@ -170,13 +170,7 @@ namespace Dalamud.Game {
var messageCopy = message;
var senderCopy = sender;
Task.Run(async () => {
try {
await this.dalamud.BotManager.ProcessChatMessage(type, messageCopy, senderCopy);
} catch (Exception ex) {
Log.Error(ex, "Could not process discord bot message.");
}
});
Task.Run(() => this.dalamud.BotManager.ProcessChatMessage(type, messageCopy, senderCopy));
// Handle all of this with SeString some day
/*