r8954: check for any errors and report