trace errors