Merge branch 'valueerror' into 'master'
Fixes #55: Handle ValueError when fetching detailed info about a flat Closes #55 See merge request !1
This commit is contained in:
commit
b3ae71a8be
@ -219,6 +219,10 @@ class WeboobProxy(object):
|
|||||||
full_flat_id,
|
full_flat_id,
|
||||||
str(exc)
|
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):
|
def fetch_flats_list(config):
|
||||||
|
Loading…
Reference in New Issue
Block a user