You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2018/04/20 19:58:12 UTC
[jira] [Closed] (GEODE-2115) Some GFSH commands may report success
even for failures
[ https://issues.apache.org/jira/browse/GEODE-2115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker closed GEODE-2115.
--------------------------------
> Some GFSH commands may report success even for failures
> -------------------------------------------------------
>
> Key: GEODE-2115
> URL: https://issues.apache.org/jira/browse/GEODE-2115
> Project: Geode
> Issue Type: Bug
> Components: management
> Reporter: Jared Stewart
> Priority: Major
>
> GFSH commands with potentially broken error handling:
> * MiscellaneousCommands.exportLogs
> Command implementation (ie MiscellaneousCommands) may ignore errors returned from Function via sendException or lastResult. Function implementation (ie LogFileFunction) may fail to invoke sendException for caught exceptions.
> Functions under `org.apache.geode.management.internal.cli.functions` should use `ResultSend::sendException` to return full stack trace of caught exceptions.
> Command implementations should read exceptions returned from functions without discarding the info.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)