From 8fe7f4db82fc4ceb6d291bd8927070c273d04950 Mon Sep 17 00:00:00 2001 From: Colin Adams Date: Tue, 1 Oct 2013 08:40:16 +0100 Subject: [PATCH] When custom error is created in check_resource_exists, use it --- library/server/wsf/policy_driven/wsf_skeleton_handler.e | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/server/wsf/policy_driven/wsf_skeleton_handler.e b/library/server/wsf/policy_driven/wsf_skeleton_handler.e index e2c92fb2..0e22817d 100644 --- a/library/server/wsf/policy_driven/wsf_skeleton_handler.e +++ b/library/server/wsf/policy_driven/wsf_skeleton_handler.e @@ -484,6 +484,8 @@ feature -- Execution check_resource_exists (req, a_helper) if a_helper.resource_exists then a_helper.execute_existing_resource (req, res, Current) + elseif req.error_handler.has_error then + a_helper.write_error_response (req, res) else if attached req.http_if_match as l_if_match and then l_if_match.same_string ("*") then a_helper.handle_precondition_failed (req, res)