mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
proceed even when kind 0 image download/creation fails
This commit is contained in:
parent
205b9a77fe
commit
f61c13e506
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', 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