Working on exception logging.