Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Fix auth error handling (#24420)
Yongtao Huang9a18911ebae5
diff --git a/api/controllers/web/app.py b/api/controllers/web/app.pyindex 5fdc3e8f185..06809036354 100644--- a/api/controllers/web/app.py+++ b/api/controllers/web/app.py@@ -1,3 +1,5 @@+import logging+from flask import requestfrom flask_restx import Resource, marshal_with, reqparsefrom werkzeug.exceptions import Unauthorized@@ -87,8 +89,11 @@ class AppWebAuthPermission(Resource):decoded = PassportService().verify(tk)user_id = decoded.get("user_id", "visitor")- except Exception as e:- pass+ except Unauthorized:+ raise+ except Exception:+ logging.exception("Unexpected error during auth verification")+ raisefeatures = FeatureService.get_system_features()if not features.webapp_auth.enabled: