Better warning on .format