From 1a03250fbeb2840ab8b6010f1ad4e899cdfc185a Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Thu, 5 Feb 2026 12:49:11 -0800 Subject: [PATCH] remove special exception for 404 (not found) responses These will now be handled just like any other error, allowing downstream to catch and deal with through diagnostics (that did not exist when that code was written) --- src/aws.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aws.zig b/src/aws.zig index 91854aa..6f98d1f 100644 --- a/src/aws.zig +++ b/src/aws.zig @@ -416,7 +416,7 @@ pub fn Request(comptime request_action: anytype) type { ); defer response.deinit(); - if (response.response_code != options.success_http_status and response.response_code != .not_found) { + if (response.response_code != options.success_http_status) { // If the consumer prrovided diagnostics, they are likely handling // this error themselves. We'll not spam them with log.err // output. Note that we may need to add additional information