log exceptions traces only once