We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2843321 + 954b1e7 commit 089972bCopy full SHA for 089972b
backend/infrahub/graphql/mutations/main.py
@@ -365,7 +365,7 @@ async def mutate_create_object(
365
data=data,
366
)
367
except ValidationError as exc:
368
- raise ValueError(str(exc)) from exc
+ raise ValidationError(input_value=str(exc)) from exc
369
370
if await cls._get_profile_ids(db=db, obj=obj):
371
obj = await cls._refresh_for_profile_update(db=db, branch=branch, obj=obj)
0 commit comments