Merge branch 'fix-kind0-script' into 'main'

proceed with rest of kind 0 setup even when kind 0 image download/creation fails

See merge request soapbox-pub/ditto!535
This commit is contained in:
Siddharth Singh 2025-02-08 06:25:35 +00:00
commit 1c93e259d9

View file

@ -59,11 +59,15 @@ if (import.meta.main) {
.then(async (buf) => await Deno.writeFile('./public/favicon.ico', new Uint8Array(buf)))
);
} catch (e) {
die(1, `Error generating favicon from url ${image}: "${e}". Please check this or try again without --image.`);
console.log(
`Error generating favicon from url ${image}: "${e}". Please check this or try again later -- proceeding silently for now.`,
);
}
}
console.log({ content, signed });
await Storages.db().then((store) => store.event(signed));
const store = await Storages.db();
await store.event(signed);
Deno.exit(0);
});
await kind0.parseAsync();