We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd47f74 commit 3db29a6Copy full SHA for 3db29a6
1 file changed
src/dstack/_internal/server/services/backends/__init__.py
@@ -23,6 +23,7 @@
23
AnyBackendConfigWithoutCreds,
24
)
25
from dstack._internal.core.errors import (
26
+ BackendAuthError,
27
BackendError,
28
BackendInvalidCredentialsError,
29
BackendNotAvailable,
@@ -224,7 +225,7 @@ async def get_project_backends_with_models(project: ProjectModel) -> List[Backen
224
225
try:
226
backend_record = get_stored_backend_record(backend_model)
227
backend = await run_async(configurator.get_backend, backend_record)
- except BackendInvalidCredentialsError:
228
+ except (BackendInvalidCredentialsError, BackendAuthError):
229
logger.warning(
230
"Credentials for %s backend are invalid. Backend will be ignored.",
231
backend_model.type.value,
0 commit comments