report error if error is found