mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 13:54:36 +00:00
Shorten library exception reporting
This commit is contained in:
parent
cee7bb4835
commit
ac1b4aec32
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ public sealed class ShardInstance : IDisposable {
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
}
|
}
|
||||||
|
|
||||||
Log("Discord.Net exception", arg.Exception.ToString());
|
Log("Discord.Net exception", $"{arg.Exception.GetType().FullName}: {arg.Exception.Message}");
|
||||||
}
|
}
|
||||||
|
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
|
|
Loading…
Reference in a new issue