sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-1065) Make SentryNoSuchObjectException exception error message consistent across all files
Date Fri, 19 Feb 2016 22:11:18 GMT

     [ https://issues.apache.org/jira/browse/SENTRY-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anne Yu updated SENTRY-1065:
----------------------------
    Description: 
Some examples:
add role group on role that doesn't exist:
{code}"SentryNoSuchObjectException: Role: rolebogus"{code}

grant privilege on role that doesn't exist:
{code}"SentryNoSuchObjectException: role:rolebogus"{code}

Also correct some error messages' english grammar.

  was:
Some examples:
add role group on role that doesn't exist:
{code}"SentryNoSuchObjectException: Role: rolebogus"{code}

grant privilege on role that doesn't exist:
{code}"SentryNoSuchObjectException: role:rolebogus"{code}

I didn't write all these down, but sometimes these error messages include entire stack traces
and sometimes they don't.  Also, often the error messages aren't correct English, e.g. "role
is miss".

I would recommend going through each one of these in the code.

        Summary: Make SentryNoSuchObjectException exception error message consistent across
all files   (was: Sentry generic service error messages are inconsistent, will fix them into
one format)

> Make SentryNoSuchObjectException exception error message consistent across all files

> -------------------------------------------------------------------------------------
>
>                 Key: SENTRY-1065
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1065
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Anne Yu
>            Assignee: Anne Yu
>
> Some examples:
> add role group on role that doesn't exist:
> {code}"SentryNoSuchObjectException: Role: rolebogus"{code}
> grant privilege on role that doesn't exist:
> {code}"SentryNoSuchObjectException: role:rolebogus"{code}
> Also correct some error messages' english grammar.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message