track errors