Skip to content

Commit 5014015

Browse files
authored
Merge pull request #346 from splitio/dw-SplitAPI-update-log
dw - updated log and comment in api.split
2 parents ed1a8f2 + 6cf891d commit 5014015

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

splitio/api/splits.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ def __init__(self, client, apikey, sdk_metadata, telemetry_runtime_producer):
3434

3535
def fetch_splits(self, change_number, fetch_options):
3636
"""
37-
Fetch splits from backend.
37+
Fetch feature flags from backend.
3838
3939
:param change_number: Last known timestamp of a split modification.
4040
:type change_number: int
4141
42-
:param fetch_options: Fetch options for getting split definitions.
42+
:param fetch_options: Fetch options for getting feature flag definitions.
4343
:type fetch_options: splitio.api.commons.FetchOptions
4444
4545
:return: Json representation of a splitChanges response.
@@ -61,6 +61,6 @@ def fetch_splits(self, change_number, fetch_options):
6161
else:
6262
raise APIException(response.body, response.status_code)
6363
except HttpClientException as exc:
64-
_LOGGER.error('Error fetching splits because an exception was raised by the HTTPClient')
64+
_LOGGER.error('Error fetching feature flags because an exception was raised by the HTTPClient')
6565
_LOGGER.debug('Error: ', exc_info=True)
66-
raise APIException('Splits not fetched correctly.') from exc
66+
raise APIException('Feature flags not fetched correctly.') from exc

0 commit comments

Comments
 (0)