mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-01 02:30:18 +02:00
the word "error" might be throwing off sentry
This commit is contained in:
parent
ac448956e9
commit
eb8708f770
@ -131,7 +131,7 @@ def _try_initialize_tokenizer(
|
|||||||
return tokenizer
|
return tokenizer
|
||||||
except Exception as hf_error:
|
except Exception as hf_error:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
f"Error initializing HuggingFaceTokenizer for {model_name}: {hf_error}"
|
f"Failed to initialize HuggingFaceTokenizer for {model_name}: {hf_error}"
|
||||||
)
|
)
|
||||||
|
|
||||||
# If both initializations fail, return None
|
# If both initializations fail, return None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user