Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/dstack/_internal/server/services/backends/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
AnyBackendConfigWithoutCreds,
)
from dstack._internal.core.errors import (
BackendAuthError,
BackendError,
BackendInvalidCredentialsError,
BackendNotAvailable,
Expand Down Expand Up @@ -224,7 +225,7 @@ async def get_project_backends_with_models(project: ProjectModel) -> List[Backen
try:
backend_record = get_stored_backend_record(backend_model)
backend = await run_async(configurator.get_backend, backend_record)
except BackendInvalidCredentialsError:
except (BackendInvalidCredentialsError, BackendAuthError):
logger.warning(
"Credentials for %s backend are invalid. Backend will be ignored.",
backend_model.type.value,
Expand Down