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)