feat: add proxy server
This commit is contained in:
parent
ce38b2be0a
commit
bfe7dbbca9
@ -246,7 +246,7 @@ export const handler: Handlers = {
|
|||||||
processCreateRecipeFromUrl({ fetchUrl, streamResponse }).then((article) => {
|
processCreateRecipeFromUrl({ fetchUrl, streamResponse }).then((article) => {
|
||||||
log.debug("created article from link", { article });
|
log.debug("created article from link", { article });
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
streamResponse.enqueue(`error creating article: ${err}`);
|
streamResponse.enqueue(`error creating recipe: ${err}`);
|
||||||
log.error(err);
|
log.error(err);
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
streamResponse.cancel();
|
streamResponse.cancel();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user