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] [Created] (SENTRY-1065) Sentry generic service error messages are inconsistent, will fix them into one format
Date Sat, 13 Feb 2016 01:18:18 GMT
Anne Yu created SENTRY-1065:
-------------------------------

             Summary: Sentry generic service error messages are inconsistent, will fix them
into one format
                 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}

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.



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

Mime
View raw message