nl-kat-coordination
nl-kat-coordination copied to clipboard
Katalogus being too slow is not caught in Rocky. resluting in 500 error
Describe the bug If the katalogus is too slow, a timeout occurs that is unhandled in Rocky.
To Reproduce Steps to reproduce the behavior:
- Go to Katalogus page in Rocky
- Make sure the katalogus server is slow.
- See error
Expected behavior A handled error in Rocky stating the Katalogus is unreachable. Possibly by wrapping all katalogus calls in a wrapper that catches any error from the ttp client calls (eg, request, timeouts, parsing), and presents a single KatalogusError to the rocky views.
OpenKAT version Main