Changed to Log the Exception as well with the Logger.