fix: tui not showing err toasts (#2290)

This commit is contained in:
Aiden Cline
2025-08-28 10:55:47 -05:00
committed by GitHub
parent 4746d88a53
commit b69264990b
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -826,7 +826,7 @@ func (a *App) SendCommand(ctx context.Context, command string, args string) (*Ap
)
if err != nil {
slog.Error("Failed to execute command", "error", err)
return toast.NewErrorToast("Failed to execute command")
return toast.NewErrorToast("Failed to execute command")()
}
return nil
})