From 0abcd8b79f4aee5f419a0d43246ee2978332f5b4 Mon Sep 17 00:00:00 2001 From: FloatingMilkshake Date: Sun, 3 Nov 2024 00:35:24 -0400 Subject: [PATCH] Include full command name in exception log message (#26) --- Events/ErrorEvents.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Events/ErrorEvents.cs b/Events/ErrorEvents.cs index 5582979..08d7bf2 100644 --- a/Events/ErrorEvents.cs +++ b/Events/ErrorEvents.cs @@ -174,7 +174,7 @@ private static async Task LogError(CommandsExtension ext, CommandErroredEventArg string commandName; try { - commandName = e.Context.Command.Name; + commandName = e.Context.Command.FullName; } catch {