Added minor prints to trace errors