more logging of exceptions