Skip to content

Commit

Permalink
Add a more helpful error message when the CLI cannot start an interac…
Browse files Browse the repository at this point in the history
…tive session (#151)
  • Loading branch information
jakemalachowski authored Dec 2, 2024
1 parent 87076c6 commit bb90d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ var rootCmd = &cobra.Command{
p := tea.NewProgram(m, tea.WithAltScreen())
_, err := p.Run()
if err != nil {
panic(fmt.Sprintf("failed to initialize interface: %v", err))
panic(fmt.Sprintf("Failed to initialize interface. Use -o to specify a non-interactive output mode: %v", err))
}
return nil
}
Expand Down

0 comments on commit bb90d20

Please sign in to comment.