web: Only catch aiohttp.ClientError exceptions on MLS query
This commit is contained in:
@@ -63,7 +63,7 @@ class WebLocator(LocatorBase):
|
||||
'Unknown response with status code %d' % (
|
||||
response.status))
|
||||
|
||||
except Exception as e:
|
||||
except aiohttp.ClientError as e:
|
||||
log.warning('Failed to get location: ' + str(e))
|
||||
return None, None
|
||||
|
||||
|
Reference in New Issue
Block a user