track the error