Github user ahgittin commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/864#issuecomment-135045233
  
    I usually use `Exceptions.getFirstInteresting(...)` or 
`e.toString().contains("...")`.  Also note `Exceptions.collapse` will prevent 
`InvocationTargetException`s and similar from being shown.
    
    In general I think we're better off with that approach (caller cleans up) 
rather than attempting to clean up intermediate.  (Note if execution is remote, 
when that's available, this "clean-up" approach will be brittle.)  But if you 
really want this no objections.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to