Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ FeatureToggles.initialize(
# To check if feature is enabled for domain
FeatureToggles.is_enabled_for_domain(<feature-name>, <domain_name>)

# Check if certainfeature is enabled for partner
# Check if certain feature is enabled for partner
FeatureToggles.is_enabled_for_partner(<feature-name>, <partner_name>)

# Check if certain feature is enabled for business
Expand Down
6 changes: 4 additions & 2 deletions UnleashClient/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ def _create_strategies(provisioning: dict,
strategy_mapping[strategy['name']](constraints=constraint_provisioning, parameters=strategy_provisioning)
)
except Exception as excep:
LOGGER.warning("Failed to load strategy. This may be a problem with a custom strategy. Exception: %s",
excep)
LOGGER.warning("Failed to load strategy. This may be a problem with a custom strategy. "
"Exception: {}, Provisioning : {}, Strategy Mapping: {}".format(excep,
provisioning,
strategy_mapping))

return feature_strategies

Expand Down