You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/14 03:10:00 UTC
[jira] [Work logged] (CURATOR-219) Avoid use of Throwable
[ https://issues.apache.org/jira/browse/CURATOR-219?focusedWorklogId=790677&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-790677 ]
ASF GitHub Bot logged work on CURATOR-219:
------------------------------------------
Author: ASF GitHub Bot
Created on: 14/Jul/22 03:09
Start Date: 14/Jul/22 03:09
Worklog Time Spent: 10m
Work Description: tisonkun closed pull request #78: CURATOR-219 Catch Exceptions, not Throwables
URL: https://github.com/apache/curator/pull/78
Issue Time Tracking
-------------------
Worklog Id: (was: 790677)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> Fix For: awaiting-response
>
> 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)