report and stop on error