Fix exception logging[2]