- *status = U_ARGUMENT_TYPE_MISMATCH;
- yaz_log(YLOG_DEBUG, "failed to create stemmer. Creating NOP stemmer");
-
- return 0;
+ *status = U_ILLEGAL_ARGUMENT_ERROR;
+ yaz_log(YLOG_FATAL, "yaz_stemmer: Failed to create snowball stemmer from locale %srule %s. Showball: charenc %s algorithm %s ",
+ locale, rule, charenc, algorithm);
+ return 0;