diff --git a/flatisfy/fetch.py b/flatisfy/fetch.py index 13a5012..dcf0a0e 100644 --- a/flatisfy/fetch.py +++ b/flatisfy/fetch.py @@ -213,7 +213,7 @@ class WeboobProxy(object): housing.id = full_flat_id return json.dumps(housing, cls=WeboobEncoder) - except CallErrors as exc: + except Exception as exc: # If an error occured, just log it LOGGER.error( "An error occured while fetching housing %s: %s", @@ -221,9 +221,6 @@ class WeboobProxy(object): str(exc) ) return "{}" - except ValueError as exc: - LOGGER.error("ValueError for flat_id=%s: %s", flat_id, str(exc)) - return "{}" def fetch_flats(config):