Skip to content

[Fix] SerpApiClientException: wrong API engine in error message - #47

Open
dimitryzub wants to merge 1 commit into
serpapi:masterfrom
dimitryzub:fix/SerpApiClientException-wrong-engine-name-error
Open

[Fix] SerpApiClientException: wrong API engine in error message#47
dimitryzub wants to merge 1 commit into
serpapi:masterfrom
dimitryzub:fix/SerpApiClientException-wrong-engine-name-error

Conversation

@dimitryzub

Copy link
Copy Markdown
Contributor

This PR contains a few small fixes that update the engine name in the error message.

Example of incorrect engine name (walmart -> DuckDuckGo):

def get_location(self, q, limit = 5):
raise SerpApiClientException("location is not supported by walmart search engine")

@dimitryzub
dimitryzub requested review from ilyazub and jvmvik May 13, 2023 04:50
@dimitryzub dimitryzub self-assigned this May 13, 2023

@ilyazub ilyazub left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants