diff --git a/Commands/InteractionServiceHandler.cs b/Commands/InteractionServiceHandler.cs index febcac7..27ace51 100644 --- a/Commands/InteractionServiceHandler.cs +++ b/Commands/InteractionServiceHandler.cs @@ -127,7 +127,7 @@ private static async Task OnSlashCommandExecutedAsync(SlashCommandInfo commandIn try { - Log.Error("Error handling interaction: {result.Error}", result); + Log.Error("Error handling interaction: {Error}", result.Error); // TODO: Somehow get more information about the error await interactionContext.Interaction.FollowupAsync("An error occurred while executing the command.", ephemeral: true); } catch (Exception e)