better error message for exec failure