Skip to content

Commit f80fe6a

Browse files
authored
Fixes KeyError in exception handler (#2169)
1 parent 03ced66 commit f80fe6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/catalog/src/simcore_service_catalog/core/background_tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ async def _list_registry_services(
5656
except ValidationError as exc:
5757
logger.warning(
5858
"skip service %s:%s that has invalid fields\n%s",
59-
x["key"],
60-
x["version"],
59+
x.get("key"),
60+
x.get("version"),
6161
exc,
6262
)
6363

0 commit comments

Comments
 (0)