Fix bing key error handling

This commit is contained in:
L1ghtn1ng 2020-12-14 22:03:05 +00:00
parent 58380a5176
commit 5873607e43

View file

@ -72,7 +72,7 @@ async def process(self, api, proxy=False):
self.proxy = proxy
if api == 'yes':
if self.bingApi is None:
raise MissingKey(True)
raise MissingKey(True, 'BingAPI')
else:
if api == 'yes':
await self.do_search_api()