Skip to content

Commit

Permalink
return error message for machines list failure (#3954)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjordan committed Sep 20, 2024
1 parent e81e0e2 commit 615681b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/command/machine/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func runMachineList(ctx context.Context) (err error) {

machines, err := flapsClient.List(ctx, "")
if err != nil {
return fmt.Errorf("machines could not be retrieved")
return err
}

if cfg.JSONOutput {
Expand Down

0 comments on commit 615681b

Please sign in to comment.