Enable pylint in NG-SA
[osm/NG-SA.git] / osm_webhook_translator / src / osm_webhook_translator / main.py
index 6e9e718..7c4404c 100644 (file)
@@ -54,7 +54,7 @@ def send_to_airflow(output_endpoint, content):
         # timeout and retries
     except Exception as e:
         logger.error(f"HTTP error: {repr(e)}")
-        raise requests.HTTPException(status_code=403, detail=repr(e))
+        raise requests.HTTPError(status_code=403, detail=repr(e))
 
 
 @app.post("/{input_endpoint}")