X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_webhook_translator%2Fsrc%2Fosm_webhook_translator%2Fmain.py;h=7c4404c5c0ba28db1e31129da13c4253bdf62f69;hb=02f71cdb75526c9adec2867c0d832b74f84c2f17;hp=6e9e7184b758fa2cee001d9c598d78ccc0ba63d3;hpb=64a4473f399192c615d08ff06ebf8326c4c6c4b1;p=osm%2FNG-SA.git diff --git a/osm_webhook_translator/src/osm_webhook_translator/main.py b/osm_webhook_translator/src/osm_webhook_translator/main.py index 6e9e718..7c4404c 100644 --- a/osm_webhook_translator/src/osm_webhook_translator/main.py +++ b/osm_webhook_translator/src/osm_webhook_translator/main.py @@ -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}")