Skip to content

Commit

Permalink
Improve Error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudioESSilva committed Feb 13, 2018
1 parent 034f4b9 commit 441922c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function Grant-RsCatalogItemRole
}
catch
{
throw (New-Object System.Exception("Error occurred while granting $($role.Name) to $($policy.GroupUserName) on $Path! $($_.Exception.Message)", $_.Exception))
throw (New-Object System.Exception("Error occurred while granting $($role.Name) to $($policy.GroupUserName) on $Path! Please verify if you have typed the user full name. You can get the current permissions by running the Get-RsCatalogItemRole command. $($_.Exception.Message)", $_.Exception))
}
#endregion Assign Permissions
}
Expand Down

0 comments on commit 441922c

Please sign in to comment.