only print exceptions if they have not been handled