[ https://issues.apache.org/jira/browse/FALCON-2227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Praveen Adlakha updated FALCON-2227: ------------------------------------ Fix Version/s: 0.11 > Intitutive error handling in Falcon Client > ------------------------------------------- > > Key: FALCON-2227 > URL: https://issues.apache.org/jira/browse/FALCON-2227 > Project: Falcon > Issue Type: Sub-task > Components: extensions > Reporter: Praveen Adlakha > Assignee: sandeep samudrala > Fix For: trunk, 0.11 > > > 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.15#6346)