### What feature do you want to see added? Actually, Jenkins returns 503 when a JCASC failed. To be compliant with [RFC 9110](https://httpwg.org/specs/rfc9110.html#overview.of.status.codes), Jenkins should report HTTP/500 when a JCASC error is detected. ### Upstream changes _No response_