forked from adam/discord-bot-shtik
slightly more useful with errors
This commit is contained in:
parent
87c31a91b8
commit
def4f3644e
@ -43,6 +43,7 @@ namespace silverworker_discord
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
System.Console.Error.WriteLine(JsonConvert.SerializeObject(e));
|
||||
await message.Channel.SendMessageAsync($"aaaadam!\n{JsonConvert.SerializeObject(e)}");
|
||||
}
|
||||
File.Delete(path);
|
||||
|
Loading…
Reference in New Issue
Block a user