Update error trapping onload.