Log an error if registration was not successful