Skip to content

Commit f3cc018

Browse files
committed
new exceptions
1 parent c6d1b64 commit f3cc018

File tree

1 file changed

+8
-3
lines changed
  • services/web/server/src/simcore_service_webserver/catalog

1 file changed

+8
-3
lines changed
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
from typing import Final
22

3-
MSG_CATALOG_SERVICE_UNAVAILABLE: Final[
4-
str
5-
] = "Currently catalog service is unavailable, please try again later"
3+
from ..constants import MSG_TRY_AGAIN_OR_SUPPORT
4+
5+
MSG_CATALOG_SERVICE_UNAVAILABLE: Final[str] = (
6+
# Most likely the director service is down or misconfigured so the user is asked to try again later.
7+
"This service is temporarily unavailable. The incident was logged and will be investigated. "
8+
+ MSG_TRY_AGAIN_OR_SUPPORT
9+
)
10+
611

712
MSG_CATALOG_SERVICE_NOT_FOUND: Final[str] = "Not Found"

0 commit comments

Comments
 (0)