FlashMessage and logging when schema retrieving fails