sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-81) Thrift API status should be an object with status code
Date Thu, 02 Jan 2014 19:29:50 GMT

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

Brock Noland updated SENTRY-81:
-------------------------------

    Attachment: SENTRY-81-nothrift.patch

> Thrift API status should be an object with status code
> ------------------------------------------------------
>
>                 Key: SENTRY-81
>                 URL: https://issues.apache.org/jira/browse/SENTRY-81
>             Project: Sentry
>          Issue Type: Sub-task
>    Affects Versions: db_policy_store
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>         Attachments: SENTRY-81-nothrift.patch, SENTRY-81.patch
>
>
> Since exceptions are crappy in thrift in general and can be problematic from an API perspective
as opposed to the thrift API throwing an exception we should return a Status object which
has an enum or values and an option message which can be used for errors.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message