Skip to content

Commit

Permalink
fix: upddate view poele error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanaden committed Oct 7, 2023
1 parent f673382 commit afa9b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/view/people.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func RunViewCoursePeople(cmd *cobra.Command, args []string) {
}
pterm.Println()
if err := pterm.DefaultTable.WithHasHeader().WithData(tableData).Render(); err != nil {
pterm.Error.Printfln("Error rendering events: %s", err.Error())
pterm.Error.Printfln("Error rendering people: %s", err.Error())
os.Exit(1)
}
pterm.Info.Printfln("Showing %d people from %s", len(coursePeople), courseCode)
Expand Down

0 comments on commit afa9b29

Please sign in to comment.