Merge branch 'feat/tool-plugin-oauth' into deploy/dev

pull/22338/head^2
Harry 10 months ago
commit a67901a89a

@ -502,7 +502,10 @@ class BuiltinToolManageService:
.first() .first()
) )
if system_client: if system_client:
oauth_params = decrypt_system_oauth_params(system_client.encrypted_oauth_params) try:
oauth_params = decrypt_system_oauth_params(system_client.encrypted_oauth_params)
except Exception as e:
raise ValueError(f"Error decrypting system oauth params: {e}")
return oauth_params return oauth_params

Loading…
Cancel
Save