Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ladybug shows "Uncaught exception" for "identificatie-niet-uniek" #258

Closed
Geert-Jan-DH opened this issue Jan 17, 2024 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@Geert-Jan-DH
Copy link

Ladybug shows "Uncaught exception" for "identificatie-niet-uniek"

The pipe PostZgwZaak returns in a creeerZaak:

{"type":"https://openzaak-zgw.denhaag.nl/ref/fouten/ValidationError/"," code":"invalid", "title":"Invalid input.", "status":400,"detail":"", "instance":"urn:uuid:e0464632-291c-4480-ac02-62ef5c24a0f6", "invalidParams":[{"name":"identificatie", "code":"identificatie-niet-uniek", "reason":"Deze identificatie bestaat al voor deze bronorganisatie"}]}

It would be nice if this mesage can be displayed as Status in Ladybug.

@MLenterman
Copy link
Collaborator

#249 Should help with this. Currently the identificatie-niet-uniek information is lost due to the higher level error handling "Uncaught exception" overwriting it. This feature will nest previous errors, so that information is retained

@MLenterman MLenterman added the bug Something isn't working label Jan 18, 2024
@MLenterman
Copy link
Collaborator

Resolved by #261

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants