DNSBelgium / rdap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rdap response body - No Stacktrace

mortensen opened this issue · comments

Hi.

By implementing the DomainService interface, I only have the option to return a domain or throw an RDAPError. By now we throw a "Domain Not Found Error", when no domain is found. The server returns a 404, which is correct. But the spring framework shows the stacktrace then. Is there a way to change the implementation to either have an empty body or even better a json body that can be customized with texts like "Domain not found"... ?

An example for this is https://rdap.rrpproxy.net/nameserver/notexistingdomain000.net

Regards.