mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-12 13:59:08 +02:00
log error, don't throw error here
This commit is contained in:
@@ -20,7 +20,7 @@ export async function load(event: RequestEvent) {
|
||||
});
|
||||
|
||||
if (response.status !== 200) {
|
||||
throw new Error(await response.text());
|
||||
console.error(await response.text());
|
||||
}
|
||||
|
||||
const data = (await response.json()) as components['schemas']['FamilyTree'];
|
||||
|
Reference in New Issue
Block a user