improving error messages when an action on a component fails due to an abnormal exit code