mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
fix: Variable e is not accessed (reportUnusedVariable)
This commit is contained in:
@ -472,7 +472,7 @@ class TriggerSubscriptionBuilderService:
|
|||||||
response=response,
|
response=response,
|
||||||
)
|
)
|
||||||
return response
|
return response
|
||||||
except Exception as e:
|
except Exception:
|
||||||
logger.exception("Error during validation endpoint dispatch for endpoint_id=%s", endpoint_id)
|
logger.exception("Error during validation endpoint dispatch for endpoint_id=%s", endpoint_id)
|
||||||
error_response = Response(status=500, response="An internal error has occurred.")
|
error_response = Response(status=500, response="An internal error has occurred.")
|
||||||
cls.append_log(endpoint_id=endpoint_id, request=request, response=error_response)
|
cls.append_log(endpoint_id=endpoint_id, request=request, response=error_response)
|
||||||
|
|||||||
Reference in New Issue
Block a user