catch parse errors when reading traces