diff --git a/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/utils.py b/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/utils.py index 748ea35507..161b0539fb 100644 --- a/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/utils.py +++ b/packages/sdk/python/human-protocol-sdk/human_protocol_sdk/utils.py @@ -199,7 +199,9 @@ def get_data_from_subgraph(network: dict, query: str, params: dict = None): SUBGRAPH_API_KEY_PLACEHOLDER, subgraph_api_key ) else: - logger.warning("Warning: SUBGRAPH_API_KEY is not provided") + logger.warning( + "Warning: SUBGRAPH_API_KEY is not provided. It might cause issues with the subgraph." + ) subgraph_url = network["subgraph_url"] request = requests.post(subgraph_url, json={"query": query, "variables": params}) diff --git a/packages/sdk/typescript/human-protocol-sdk/src/error.ts b/packages/sdk/typescript/human-protocol-sdk/src/error.ts index 173c563d02..4df55cd485 100644 --- a/packages/sdk/typescript/human-protocol-sdk/src/error.ts +++ b/packages/sdk/typescript/human-protocol-sdk/src/error.ts @@ -336,4 +336,4 @@ export class InvalidEthereumAddressError extends Error { export const ErrorInvalidHash = new Error('Invalid hash'); export const WarnSubgraphApiKeyNotProvided = - '"subgraphApiKey" is not being provided. It might cause issues with the subgraph.'; + '"SUBGRAPH_API_KEY" is not being provided. It might cause issues with the subgraph.';