add notes about capturing errors to readme