better logging of post process exceptions