Skip to content

Commit

Permalink
Remove unclear config warning (#2266)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLaPiana authored Jan 19, 2023
1 parent 67ac482 commit 00cff5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ The types of changes are:
* No longer use `react-feature-flags` library.
* Can have descriptions. [#2243](https://github.com/ethyca/fides/pull/2243)
* Made privacy declarations optional when adding systems manually - [#2173](https://github.com/ethyca/fides/pull/2173)
* Removed an unclear logging message. [#2266](https://github.com/ethyca/fides/pull/2266)
* Dynamic imports of custom overrides and SaaS test fixtures [#2169](https://github.com/ethyca/fides/pull/2169)
* Added `AuthenticatedClient` to custom request override interface [#2171](https://github.com/ethyca/fides/pull/2171)
* Only approve the specific collection instead of the entire dataset, display only top 1 classification by default [#2226](https://github.com/ethyca/fides/pull/2226)
Expand Down
5 changes: 2 additions & 3 deletions src/fides/core/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,14 @@ def get_config(config_path_override: str = "", verbose: bool = False) -> FidesCo

env_config_path = getenv(DEFAULT_CONFIG_PATH_ENV_VAR)
config_path = config_path_override or env_config_path or DEFAULT_CONFIG_PATH
if verbose:
print(f"Loading config from: {config_path}")

try:
settings = toml.load(config_path)
config = build_config(config_dict=settings)
print(f"Loaded config from: {config_path}")
return config
except FileNotFoundError:
print("No config file found.")
pass
except IOError:
echo_red(f"Error reading config file: {config_path}")

Expand Down

0 comments on commit 00cff5e

Please sign in to comment.