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] [Commented] (SENTRY-81) Thrift API status should be an object with status code
Date Thu, 02 Jan 2014 19:51:51 GMT

    [ https://issues.apache.org/jira/browse/SENTRY-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860664#comment-13860664
] 

Brock Noland commented on SENTRY-81:
------------------------------------

RB: https://reviews.apache.org/r/16574/

> 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