Update ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/components/AllModelsTab.tsx

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Cesar Garcia 2026-03-04 17:50:55 -03:00 committed by GitHub
parent 18af581563
commit 3a8fdc4b81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -213,7 +213,7 @@ const AllModelsTab = ({
refetchModels();
} catch (error) {
console.error("Error deleting model:", error);
NotificationsManager.fromBackend("Failed to delete model");
NotificationsManager.fromBackend(error);
} finally {
setDeleteLoading(false);
setDeleteModalModelId(null);