stopAndReport function

stop function but paste error to the report too