diff --git a/keyserver/src/services/blob.js b/keyserver/src/services/blob.js --- a/keyserver/src/services/blob.js +++ b/keyserver/src/services/blob.js @@ -105,6 +105,7 @@ export type BlobDownloadResult = | { +found: false, + +status: number, } | { +found: true, @@ -119,7 +120,7 @@ }); if (!response.ok) { - return { found: false }; + return { found: false, status: response.status }; } const blob = await response.blob(); return { found: true, blob };