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

DMP-4458: Respond with 404 if courthouse is not found #2410

Merged
merged 12 commits into from
Jan 7, 2025
Merged

Conversation

Ben-Edwards-cgi
Copy link
Contributor

Links

Jira

Change description

Summary of Git Diff

This Git diff shows a modification in the CommonApiError enum within the CommonApiError.java file. Specifically, the HTTP status code for the COURTHOUSE_PROVIDED_DOES_NOT_EXIST error has been changed from BAD_REQUEST (400) to NOT_FOUND (404).

Highlights

  • File Changed: CommonApiError.java
  • Enum Affected: CommonApiError
  • Error Modified: COURTHOUSE_PROVIDED_DOES_NOT_EXIST
  • Status Code Change:
    • From: HttpStatus.BAD_REQUEST (400)
    • To: HttpStatus.NOT_FOUND (404)

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[X] No

@Ben-Edwards-cgi Ben-Edwards-cgi requested review from a team as code owners January 2, 2025 17:56
@Ben-Edwards-cgi Ben-Edwards-cgi requested review from davet1985, jackmaloney, cakeben, narinder17, JakeM-Kainos and anne-moore and removed request for a team January 2, 2025 17:56
@Ben-Edwards-cgi Ben-Edwards-cgi enabled auto-merge (squash) January 6, 2025 15:51
@hmcts-jenkins-cnp hmcts-jenkins-cnp bot requested a deployment to preview January 7, 2025 12:49 Abandoned
@Ben-Edwards-cgi Ben-Edwards-cgi merged commit 34f14fb into master Jan 7, 2025
10 checks passed
@Ben-Edwards-cgi Ben-Edwards-cgi deleted the DMP-4458 branch January 7, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants