From 327ea620be29f90ebaee12727d313dc60d92088c Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 4 Jun 2023 16:28:22 +0200 Subject: [PATCH] feat: skip save if extractor error --- src/pages/index.astro | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/index.astro b/src/pages/index.astro index 4245f52..8e240cd 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -17,6 +17,7 @@ try { title: "Something is not right", content: "

The article extractor did not get any result.

", }; + skipSave = true; } if (!article) {