Fixes #55: Handle ValueError when fetching detailed info about a flat;
This commit is contained in:
parent
969c6ab0fe
commit
4beee77a02
@ -219,6 +219,10 @@ class WeboobProxy(object):
|
||||
full_flat_id,
|
||||
str(exc)
|
||||
)
|
||||
return "{}"
|
||||
except ValueError as exc:
|
||||
LOGGER.error("ValueError for flat_id=%s: %s", flat_id, str(exc))
|
||||
return "{}"
|
||||
|
||||
|
||||
def fetch_flats_list(config):
|
||||
|
Loading…
Reference in New Issue
Block a user