Skip to content

Commit

Permalink
Ouput role ID in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Jan 17, 2023
1 parent c405a2e commit 3b09f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/roles_permissions.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func listRolePermissionsCmd(cli *cli) *cobra.Command {
)

if err != nil {
return fmt.Errorf("Failed to get permissions: %w", err)
return fmt.Errorf("Failed to get permissions for role '%s': %w", inputs.ID, err)
}

var permissions []*management.Permission
Expand Down

0 comments on commit 3b09f4c

Please sign in to comment.