Skip to content

Commit 4c7b46a

Browse files
natthan-pigouxfstagni
authored andcommitted
fix: properly return error if no match
1 parent f67d84e commit 4c7b46a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DIRAC/FrameworkSystem/Utilities/diracx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,4 @@ def diracxVerifyConfig(cfgData):
134134
match = re.search(r"(ValidationError:.*)", err, flags=re.DOTALL)
135135
if match:
136136
return S_ERROR(match.group(1))
137+
return S_ERROR(err)

0 commit comments

Comments
 (0)