Skip to content

fix: error bodies - #1266

Merged
slapec93 merged 2 commits into
upcomingfrom
fix/error-bodies-on-non-json-endpoints-are-reported-as-eg-not-found-for-a-missing-blob
Sep 29, 2026
Merged

slapec93 merged 2 commits into
upcomingfrom
fix/error-bodies-on-non-json-endpoints-are-reported-as-eg-not-found-for-a-missing-blob

Conversation

@slapec93

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor
File Coverage Now Coverage Before Delta% Rating
Total 1946 / 2350 1937 / 2341 0.07 🟢
bee.ts 70 / 72 70 / 72 0.00
index.ts 29 / 29 29 / 29 0.00
version.ts 3 / 3 3 / 3 0.00
api/balance.ts 9 / 9 9 / 9 0.00
api/batches.ts 9 / 9 9 / 9 0.00
api/bytes.ts 22 / 25 22 / 25 0.00
api/bzz.ts 30 / 31 30 / 31 0.00
api/chequebook.ts 32 / 34 32 / 34 0.00
api/chunk.ts 15 / 15 15 / 15 0.00
api/connectivity.ts 24 / 32 24 / 32 0.00
api/consumed.ts 9 / 9 9 / 9 0.00
api/envelope.ts 8 / 8 8 / 8 0.00
api/feed.ts 20 / 22 20 / 22 0.00
api/grantee.ts 18 / 18 18 / 18 0.00
api/pin.ts 16 / 16 16 / 16 0.00
api/pss.ts 5 / 5 5 / 5 0.00
api/rchash.ts 6 / 6 6 / 6 0.00
api/redistributionstate.ts 6 / 6 6 / 6 0.00
api/settlement.ts 9 / 9 9 / 9 0.00
api/soc.ts 11 / 11 11 / 11 0.00
api/stake.ts 13 / 19 13 / 19 0.00
api/stamp.ts 27 / 29 27 / 29 0.00
api/status.ts 27 / 27 27 / 27 0.00
api/stewardship.ts 8 / 8 8 / 8 0.00
api/tag.ts 15 / 16 15 / 16 0.00
api/transaction.ts 11 / 18 11 / 18 0.00
api/wallet.ts 12 / 12 12 / 12 0.00
chunk/soc.ts 33 / 34 33 / 34 0.00
feed/identifier.ts 4 / 4 4 / 4 0.00
feed/index.ts 83 / 85 83 / 85 0.00
feed/retrievable.ts 18 / 19 18 / 19 0.00
manifest/manifest.ts 55 / 70 55 / 70 0.00
modules/balance.ts 11 / 11 11 / 11 0.00
modules/cheque.ts 13 / 14 13 / 14 0.00
modules/chequebook.ts 13 / 13 13 / 13 0.00
modules/chunk.ts 18 / 22 18 / 22 0.00
modules/collection.ts 25 / 28 25 / 28 0.00
modules/connectivity.ts 11 / 20 11 / 20 0.00
modules/data.ts 20 / 23 20 / 23 0.00
modules/feed.ts 26 / 33 26 / 33 0.00
modules/file.ts 26 / 28 26 / 28 0.00
modules/grantee.ts 16 / 16 16 / 16 0.00
modules/messaging.ts 78 / 92 78 / 92 0.00
modules/pin.ts 15 / 15 15 / 15 0.00
modules/rolling-feed.ts 84 / 88 84 / 88 0.00
modules/settlement.ts 7 / 7 7 / 7 0.00
modules/soc.ts 9 / 10 9 / 10 0.00
modules/stake.ts 12 / 16 12 / 16 0.00
modules/stamp.ts 48 / 54 48 / 54 0.00
modules/status.ts 11 / 17 11 / 17 0.00
modules/storage.ts 67 / 68 67 / 68 0.00
modules/tag.ts 14 / 17 14 / 17 0.00
modules/transaction.ts 8 / 13 8 / 13 0.00
modules/wallet.ts 12 / 12 12 / 12 0.00
types/debug.ts 8 / 12 8 / 12 0.00
types/index.ts 21 / 21 21 / 21 0.00
types/schema/balance.ts 7 / 7 7 / 7 0.00
types/schema/chequebook.ts 28 / 28 28 / 28 0.00
types/schema/connectivity.ts 15 / 15 15 / 15 0.00
types/schema/envelope.ts 7 / 7 7 / 7 0.00
types/schema/grantee.ts 6 / 6 6 / 6 0.00
types/schema/pinning.ts 2 / 2 2 / 2 0.00
types/schema/rchash.ts 2 / 2 2 / 2 0.00
types/schema/settlements.ts 10 / 10 10 / 10 0.00
types/schema/stake.ts 13 / 14 13 / 14 0.00
types/schema/stamps.ts 14 / 14 14 / 14 0.00
types/schema/states.ts 14 / 14 14 / 14 0.00
types/schema/status.ts 7 / 7 7 / 7 0.00
types/schema/stewardship.ts 2 / 2 2 / 2 0.00
types/schema/tag.ts 4 / 4 4 / 4 0.00
types/schema/transactions.ts 10 / 11 10 / 11 0.00
types/schema/upload.ts 4 / 4 4 / 4 0.00
utils/bad-ports.ts 1 / 1 1 / 1 0.00
utils/chunk-size.ts 9 / 9 9 / 9 0.00
utils/chunk-stream.browser.ts 0 / 74 0 / 74 0.00
utils/chunk-stream.ts 60 / 66 60 / 66 0.00
utils/collection.browser.ts 0 / 4 0 / 4 0.00
utils/collection.node.ts 29 / 33 29 / 33 0.00
utils/collection.ts 14 / 18 14 / 18 0.00
utils/constants.ts 7 / 7 7 / 7 0.00
utils/data.browser.ts 0 / 8 0 / 8 0.00
utils/data.ts 4 / 11 4 / 11 0.00
utils/duration.ts 20 / 22 20 / 22 0.00
utils/error.ts 16 / 16 13 / 13 0.00
utils/expose.ts 16 / 16 16 / 16 0.00
utils/file.ts 8 / 12 8 / 12 0.00
utils/headers.ts 68 / 77 68 / 77 0.00
utils/hex-schema.ts 2 / 3 2 / 3 0.00
utils/http.ts 74 / 82 68 / 76 0.77 🟢
utils/mime.ts 1 / 1 1 / 1 0.00
utils/pss.ts 5 / 5 5 / 5 0.00
utils/resource-locator.ts 7 / 8 7 / 8 0.00
utils/schema.ts 23 / 27 23 / 27 0.00
utils/size.ts 12 / 14 12 / 14 0.00
utils/stamps.ts 26 / 32 26 / 32 0.00
utils/tar-uploader.browser.ts 0 / 11 0 / 11 0.00
utils/tar-uploader.ts 12 / 12 12 / 12 0.00
utils/tar-writer.browser.ts 0 / 8 0 / 8 0.00
utils/tar-writer.ts 13 / 14 13 / 14 0.00
utils/tar.browser.ts 0 / 73 0 / 73 0.00
utils/tar.ts 65 / 67 65 / 67 0.00
utils/tokens.ts 26 / 41 26 / 41 0.00
utils/type.ts 23 / 31 23 / 31 0.00
utils/url.ts 21 / 26 21 / 26 0.00
utils/workaround.ts 9 / 14 9 / 14 0.00

@slapec93
slapec93 merged commit 29c89d7 into upcoming Sep 29, 2026
5 checks passed
@slapec93
slapec93 deleted the fix/error-bodies-on-non-json-endpoints-are-reported-as-eg-not-found-for-a-missing-blob branch September 29, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error bodies on non-JSON endpoints are reported as "{}" (e.g. "Not Found: {}" for a missing blob)

2 participants