diff --git a/README.md b/README.md index 85ac655..2b59694 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ FeatureToggles.initialize( # To check if feature is enabled for domain FeatureToggles.is_enabled_for_domain(, ) -# Check if certainfeature is enabled for partner +# Check if certain feature is enabled for partner FeatureToggles.is_enabled_for_partner(, ) # Check if certain feature is enabled for business diff --git a/UnleashClient/loader.py b/UnleashClient/loader.py index f2ead8c..6f83019 100644 --- a/UnleashClient/loader.py +++ b/UnleashClient/loader.py @@ -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