Trim assertion exception traces.