You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Zili Chen (Jira)" <ji...@apache.org> on 2022/07/14 03:11:00 UTC
[jira] [Closed] (CURATOR-219) Avoid use of Throwable
[ https://issues.apache.org/jira/browse/CURATOR-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zili Chen closed CURATOR-219.
-----------------------------
Fix Version/s: (was: awaiting-response)
Resolution: Won't Fix
See comments on the pull request.
> Avoid use of Throwable
> ----------------------
>
> Key: CURATOR-219
> URL: https://issues.apache.org/jira/browse/CURATOR-219
> Project: Apache Curator
> Issue Type: Bug
> Reporter: Mike Drob
> Assignee: Jordan Zimmerman
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We liberally catch {{Throwable}} in our code, which can mask more troubling issues like {{OutOfMemory}} or other errors. In most cases we should be catching Exception instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)