Bugfix in rank, updated migration script

This commit is contained in:
Runebaas 2017-09-27 23:26:32 +02:00
parent 29c181ddda
commit a4cbc03202
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
3 changed files with 26 additions and 10 deletions

View file

@ -18,7 +18,7 @@ namespace Geekbot.net.Lib
public void HandleCommandException(Exception e, ICommandContext Context)
{
var errorMsg =
$"Error Occured while executing \"{Context.Message.Content}\", executed by \"{Context.User.Username}\"";
$"Error Occured while executing \"{Context.Message.Content}\", executed by \"{Context.User.Username}\", complete message was \"{Context.Message}\"";
logger.Error(e, errorMsg);
// await botOwnerDmChannel.SendMessageAsync($"{errorMsg}```{e.StackTrace}```");
// await Context.Channel.SendMessageAsync("Something went wrong...");