Praveen Adlakha created FALCON-2227:
---------------------------------------

             Summary: Intitutive error handling in Falcon Client 
                 Key: FALCON-2227
                 URL: https://issues.apache.org/jira/browse/FALCON-2227
             Project: Falcon
          Issue Type: Sub-task
            Reporter: Praveen Adlakha



In submitting extensions we are catching some error and not throwing it:

{code}
catch (Exception e) {
                OUT.get().println("Error in building the extension");
                throw new FalconCLIException("Failed to prepare entities for 
the given extension");
            }
            if (entities == null || entities.isEmpty()) {
                OUT.get().println("No entities got built");
                throw new FalconCLIException("Failed to prepare entities for 
the given extension");
            }
{code}

Its pretty intuitive to know the error.Please wrap the exception.



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

Reply via email to