recording errors for posterity