mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 20:17:29 +08:00
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:
parent
a8613f0233
commit
f4c7f98a01
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user