added error log for records push