slightly more useful with errors

This commit is contained in:
Adam R Grey 2023-03-01 23:49:36 -05:00
parent 87c31a91b8
commit def4f3644e

View File

@ -43,6 +43,7 @@ namespace silverworker_discord
} }
catch (Exception e) catch (Exception e)
{ {
System.Console.Error.WriteLine(JsonConvert.SerializeObject(e));
await message.Channel.SendMessageAsync($"aaaadam!\n{JsonConvert.SerializeObject(e)}"); await message.Channel.SendMessageAsync($"aaaadam!\n{JsonConvert.SerializeObject(e)}");
} }
File.Delete(path); File.Delete(path);