Revert to console outputs to reduce noise (#16981)

This commit is contained in:
yuneng-jiang 2025-11-22 15:26:45 -08:00 committed by GitHub
parent 7cf1d306f2
commit f7f4320e12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -162,7 +162,7 @@ const ModelsAndEndpointsView: React.FC<ModelDashboardProps> = ({
const response: CredentialsResponse = await credentialListCall(accessToken);
setCredentialsList(response.credentials);
} catch (error) {
NotificationsManager.fromBackend("Error fetching credentials");
console.error("Error fetching credentials:", error);
}
};
@ -368,7 +368,7 @@ const ModelsAndEndpointsView: React.FC<ModelDashboardProps> = ({
const model_group_alias = router_settings.model_group_alias || {};
setModelGroupAlias(model_group_alias);
} catch (error) {
NotificationsManager.fromBackend("Error fetching model data: " + error);
console.error("Error fetching model data:", error);
}
};