fix: avoid hiding remote lookup errors

This commit is contained in:
Tom Boullay
2026-04-27 17:22:26 +02:00
parent fd586f4185
commit 382b28103e
3 changed files with 11 additions and 16 deletions
+2 -2
View File
@@ -215,8 +215,8 @@ export async function getRemoteFolder(
return { name: f.name, size: pointer.size }
}
}
} catch {
// Fall through to use the original size
} catch (err) {
if (!isHttpError(err) || err.status !== 404) throw err
}
return { name: f.name, size: f.size }