Shorten library exception reporting

This commit is contained in:
Noi 2023-07-04 14:13:44 -07:00
parent cee7bb4835
commit ac1b4aec32

View file

@ -94,7 +94,7 @@ public sealed class ShardInstance : IDisposable {
return Task.CompletedTask;
}
Log("Discord.Net exception", arg.Exception.ToString());
Log("Discord.Net exception", $"{arg.Exception.GetType().FullName}: {arg.Exception.Message}");
}
return Task.CompletedTask;