You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2014/03/28 16:28:24 UTC
[jira] [Commented] (CASSANDRA-6946) Catching
RequestExecutionException instead of Throwable
[ https://issues.apache.org/jira/browse/CASSANDRA-6946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13950889#comment-13950889 ]
Jonathan Ellis commented on CASSANDRA-6946:
-------------------------------------------
This is saying, "no matter what caused revoke to fail, log a human-readable error instead of a raw stack trace"
> Catching RequestExecutionException instead of Throwable
> -------------------------------------------------------
>
> Key: CASSANDRA-6946
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6946
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Ding Yuan
> Priority: Trivial
> Attachments: trunk-overthrow.txt
>
>
> In CassandraAuthorizer.java, there are a few cases where a Throwable is used to catch RequestExecutionException. Propose to catch the exact exception. Attaching a patch against trunk for review. Thanks.
--
This message was sent by Atlassian JIRA
(v6.2#6252)