fix: avoid hiding remote lookup errors
This commit is contained in:
+2
-2
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user