-
Notifications
You must be signed in to change notification settings - Fork 965
Open
Labels
analyzerbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Describe the bug
When the path to the config file is incorrect, Presidio silently falls back to the default settings without logging any error or warning. This makes it hard to debug and identify the issue.
To Reproduce
Steps to reproduce the behavior:
- Set the
conf_filepath to a non-existent or incorrect file path. - Initialize the
NlpEngineProviderwith the incorrect config file path. - Run an analysis using
AnalyzerEngine. - No error is logged — it defaults to the built-in settings silently.
Expected behavior
Presidio should raise an error or at least log a warning when the config file is missing or invalid.
docs link https://microsoft.github.io/presidio/analyzer/nlp_engines/transformers/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
analyzerbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
