fix: remove unnecessary error log when trigger endpoint returns 404 (#29587)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -33,7 +33,7 @@ def trigger_endpoint(endpoint_id: str):
|
|||||||
if response:
|
if response:
|
||||||
break
|
break
|
||||||
if not response:
|
if not response:
|
||||||
logger.error("Endpoint not found for {endpoint_id}")
|
logger.info("Endpoint not found for %s", endpoint_id)
|
||||||
return jsonify({"error": "Endpoint not found"}), 404
|
return jsonify({"error": "Endpoint not found"}), 404
|
||||||
return response
|
return response
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user