Introducing more intelligent error logging.