Minor page load fixes

This commit is contained in:
Zef Hemel
2023-10-05 18:24:12 +02:00
parent d8797aa805
commit 386c5ab916
4 changed files with 15 additions and 7 deletions
+3
View File
@@ -151,6 +151,9 @@ export class HttpSpacePrimitives implements SpacePrimitives {
if (res.status === 404) {
throw new Error(`Not found`);
}
if (!res.ok) {
throw new Error(`Failed to get file meta: ${res.statusText}`);
}
return this.responseToMeta(name, res);
}