Raise an error when trying to log an error in dummy service.