Skip to content

Commit

Permalink
Merge pull request #668 from dwestjohn/cloud_error_handle
Browse files Browse the repository at this point in the history
Add Kanaries Doc link to missing api key cloud error.
  • Loading branch information
ObservedObserver authored Dec 30, 2024
2 parents 30eb90d + 6fed92f commit 1d7c7e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygwalker/services/cloud_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def send(self, request: requests.PreparedRequest, **kwargs) -> requests.Response
"If you are not kanaries user, please register it from 'https://kanaries.net/home/access' \n"
"Then refer 'https://github.com/Kanaries/pygwalker/wiki/How-to-get-api-key-of-kanaries%3F' to set kanaries_api_key. \n"
))
raise CloudFunctionError("no kanaries api key", code=ErrorCode.TOKEN_ERROR)
raise CloudFunctionError("no kanaries api key. visit: https://docs.kanaries.net/ for setup documentation.", code=ErrorCode.TOKEN_ERROR)
resp = super().send(request, **kwargs)
try:
resp_json = resp.json()
Expand Down

0 comments on commit 1d7c7e8

Please # to comment.