output better exception logging.