You should improve the message by mentionning the type, and telling that the other type will be tried