File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -338,10 +338,15 @@ def createSecurityContent(
338
338
for err in error .errors ():
339
339
error_msg = err .get ("msg" , "" )
340
340
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
+ # This is harder to read, but the other option is suppressing it which we cannot do as
343
+ # it makes troubleshooting extremelt difficult
344
+ print (
345
+ f" { Colors .RED } { Colors .ERROR } { error_msg } { Colors .END } "
346
+ )
342
347
343
348
# Clean error categorization
344
- if "Field required" in error_msg :
349
+ elif "Field required" in error_msg :
345
350
print (
346
351
f" { Colors .YELLOW } { Colors .WARNING } Field Required: { err .get ('loc' , ['' ])[0 ]} { Colors .END } "
347
352
)
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " contentctl"
3
3
4
- version = " 5.4.0 "
4
+ version = " 5.4.1 "
5
5
6
6
description = " Splunk Content Control Tool"
7
7
authors = [
" STRT <[email protected] >" ]
You can’t perform that action at this time.
0 commit comments