feat: add proxy server

This commit is contained in:
max_richter 2025-01-19 20:13:25 +01:00
parent ce38b2be0a
commit bfe7dbbca9

View File

@ -246,7 +246,7 @@ export const handler: Handlers = {
processCreateRecipeFromUrl({ fetchUrl, streamResponse }).then((article) => {
log.debug("created article from link", { article });
}).catch((err) => {
streamResponse.enqueue(`error creating article: ${err}`);
streamResponse.enqueue(`error creating recipe: ${err}`);
log.error(err);
}).finally(() => {
streamResponse.cancel();