feat: more log context
This commit is contained in:
parent
4047df8610
commit
7749c9d9e2
21 changed files with 159 additions and 15 deletions
|
|
@ -35,6 +35,8 @@ public class ChannelDeleteResponder(
|
|||
|
||||
public async Task<Result> RespondAsync(IChannelDelete evt, CancellationToken ct = default)
|
||||
{
|
||||
using var __ = LogUtils.Enrich(evt);
|
||||
|
||||
if (!evt.GuildID.IsDefined())
|
||||
{
|
||||
_logger.Debug("Deleted channel {ChannelId} is not in a guild", evt.ID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue