You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Tony Kurc (JIRA)" <ji...@apache.org> on 2015/11/19 02:32:10 UTC

[jira] [Created] (NIFI-1194) ExecuteStreamCommand swallows exception when copying stream

Tony Kurc created NIFI-1194:
-------------------------------

             Summary: ExecuteStreamCommand swallows exception when copying stream
                 Key: NIFI-1194
                 URL: https://issues.apache.org/jira/browse/NIFI-1194
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 0.3.0, 0.4.0
            Reporter: Tony Kurc
            Priority: Minor


The class org.apache.nifi.processors.standard.ExecuteStreamCommand will log, but swallow the IOException when this copy throws it. May not happen, but is logged. Should be handled or propagated?
 {code}
                   try {
                        StreamUtils.copy(incomingFlowFileIS, stdInWritable);
                    } catch (IOException e) {
                        logger.error("Failed to write flow file to stdIn due to {}", new Object[]{e}, e);
                    }
{code}



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