remove special exception for 404 (not found) responses
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 15m30s

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)
This commit is contained in:
Emil Lerch 2026-02-05 12:49:11 -08:00
parent 45d9a369ae
commit 1a03250fbe
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -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