Skip to content

Commit 5716974

Browse files
authored
support base case for
test objects in particular
1 parent 6fa5996 commit 5716974

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contentctl/input/director.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,9 @@ def createSecurityContent(
338338
for err in error.errors():
339339
error_msg = err.get("msg", "")
340340
if "https://errors.pydantic.dev" in error_msg:
341-
continue
341+
# Unfortunately, this is a catch-all for untyped errors. We will still need to emit this
342+
# It will fall through the if/else statement below to the else condition.
343+
pass
342344

343345
# Clean error categorization
344346
if "Field required" in error_msg:

0 commit comments

Comments
 (0)