Publish the previous pose in the case of error