mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-02 12:22:40 +02:00
fix: mark connector auth_expired on token decryption failure
This commit is contained in:
parent
2eb0ff9e5e
commit
cf7c14cf44
1 changed files with 1 additions and 0 deletions
|
|
@ -895,6 +895,7 @@ async def load_mcp_tools(
|
|||
"Skipping MCP connector %d — OAuth token decryption failed",
|
||||
connector.id,
|
||||
)
|
||||
await _mark_connector_auth_expired(connector.id)
|
||||
continue
|
||||
|
||||
trusted_tools = cfg.get("trusted_tools", [])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue