James Taylor created PHOENIX-3291:
-------------------------------------

             Summary: Do not throw return value of Throwables.propagate(e)
                 Key: PHOENIX-3291
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3291
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor
            Assignee: James Taylor


Several places in the code are doing the following which is wrong:
{code}
throw Throwables.propagate(e);
{code}
This seems to get rid of any stack trace.  Instead, it should be:
{code}
Throwables.propagate(e);
throw new IllegalStateException(); // won't happen as above call throws
{code}
This preserves the stack trace.




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

Reply via email to