mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
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:
commit
1c93e259d9
1 changed files with 6 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue