track exceptions