Properly log errors when adding a role emoji

This commit is contained in:
runebaas 2019-10-11 01:08:59 +02:00
parent b7b4a600cd
commit 8dd914e012
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6

View file

@ -196,8 +196,7 @@ namespace Geekbot.net.Commands.Admin
}
catch (Exception e)
{
await Context.Channel.SendMessageAsync("Something went wrong... please try again on a new message");
Console.WriteLine(e);
await _errorHandler.HandleCommandException(e, Context);
}
}
}