1. add error messages, 2. force failed exit status