From 6cbfc2a43f19182942ad425877f0c5a4d3d7200f Mon Sep 17 00:00:00 2001 From: Andriy Gelman Date: Tue, 10 Mar 2020 23:20:04 -0400 Subject: views: Return Http404 if patch not found Otherwise exception DoesNotExist shows error 500 on Apache Signed-off-by: Andriy Gelman Signed-off-by: Stephen Finucane Closes: #343 --- releasenotes/notes/issue-343-cb591d031cd58b61.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 releasenotes/notes/issue-343-cb591d031cd58b61.yaml (limited to 'releasenotes') diff --git a/releasenotes/notes/issue-343-cb591d031cd58b61.yaml b/releasenotes/notes/issue-343-cb591d031cd58b61.yaml new file mode 100644 index 0000000..8743676 --- /dev/null +++ b/releasenotes/notes/issue-343-cb591d031cd58b61.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Previously, attempting to retrieve a patch that did not exist would result + in a ``HTTP 500`` (Internal Server Error) being raised. This has been + corrected and a ``HTTP 404`` (Not Found) is now raised instead. -- cgit v1.2.3