Skip to content

Commit

Permalink
Include full command name in exception log message (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
FloatingMilkshake committed Nov 3, 2024
1 parent db7182e commit 0abcd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Events/ErrorEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 0abcd8b

Please sign in to comment.