removing log that was confusing claude
This commit is contained in:
parent
a6e6d0f1e8
commit
c632b774cb
1 changed files with 3 additions and 15 deletions
|
@ -143,10 +143,6 @@ export async function connectToRemoteServer(
|
||||||
await client.connect(transport)
|
await client.connect(transport)
|
||||||
log(`Connected to remote server using ${transport.constructor.name}`)
|
log(`Connected to remote server using ${transport.constructor.name}`)
|
||||||
|
|
||||||
if (!sseTransport) {
|
|
||||||
console.log({ serverCapabilities: await client.getServerCapabilities() })
|
|
||||||
}
|
|
||||||
|
|
||||||
return transport
|
return transport
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// Check if it's a protocol error and we should attempt fallback
|
// Check if it's a protocol error and we should attempt fallback
|
||||||
|
@ -211,15 +207,7 @@ export async function connectToRemoteServer(
|
||||||
log(`Recursively reconnecting for reason: ${REASON_AUTH_NEEDED}`)
|
log(`Recursively reconnecting for reason: ${REASON_AUTH_NEEDED}`)
|
||||||
|
|
||||||
// Recursively call connectToRemoteServer with the updated recursion tracking
|
// Recursively call connectToRemoteServer with the updated recursion tracking
|
||||||
return connectToRemoteServer(
|
return connectToRemoteServer(client, serverUrl, authProvider, headers, authInitializer, transportStrategy, recursionReasons)
|
||||||
client,
|
|
||||||
serverUrl,
|
|
||||||
authProvider,
|
|
||||||
headers,
|
|
||||||
authInitializer,
|
|
||||||
transportStrategy,
|
|
||||||
recursionReasons,
|
|
||||||
)
|
|
||||||
} catch (authError) {
|
} catch (authError) {
|
||||||
log('Authorization error:', authError)
|
log('Authorization error:', authError)
|
||||||
throw authError
|
throw authError
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue