No reference to  so an error was being thrown while logging.