Logging error in case of error when getting last updated time.