mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-13 18:32:12 +03:00
fix(auth): downgrade expected transient states from warn to debug (#11937)
Boarded with 8 other PRs in one combined worktree: typecheck:core, check:file-size, check:changelog-integrity, check:complexity, check:cognitive-complexity, check:cycles, check-native-deps all green; 75/75 focused tests pass. Trivial, correct log-level fix — both conditions are already handled gracefully by callers. Thanks.
This commit is contained in:
committed by
GitHub
parent
41f4f83772
commit
ff0743071e
@@ -1412,7 +1412,7 @@ export async function getProviderCredentials(
|
||||
retryAfterHuman: formatRetryAfter(earliest),
|
||||
};
|
||||
}
|
||||
log.warn("AUTH", `${provider} | ${allConnections.length} accounts found but none active`);
|
||||
log.debug("AUTH", `${provider} | ${allConnections.length} accounts found but none active`);
|
||||
allConnections.forEach((c) => {
|
||||
log.debug(
|
||||
"AUTH",
|
||||
@@ -1463,7 +1463,7 @@ export async function getProviderCredentials(
|
||||
return geminiEnvCredentials;
|
||||
}
|
||||
invalidateManagedLease(options, "CONNECTION_INELIGIBLE");
|
||||
log.warn("AUTH", `No credentials for ${provider}`);
|
||||
log.debug("AUTH", `No credentials for ${provider}`);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user