From 2a5023df4bffbb2e8ddb61e04051e328646938e3 Mon Sep 17 00:00:00 2001 From: Helldragon67 <kilian.scheidecker@orange.fr> Date: Tue, 28 Jan 2025 15:51:51 +0100 Subject: [PATCH] damn xml --- backend/src/overpass/overpass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/overpass/overpass.py b/backend/src/overpass/overpass.py index 2aa3510..64fbbcc 100644 --- a/backend/src/overpass/overpass.py +++ b/backend/src/overpass/overpass.py @@ -336,7 +336,7 @@ def fill_cache(): try : json_data = json.load(f) except Exception as exc : - raise Exception(f'An unexpected error occured while parsing file {f}') from exc + overpass.logger.error(f'An error occured while parsing file {f} as .json file') # Fill the cache with the query and key