From 4afe47bf4f85aa9e77b4e973d96f987173f6b59d Mon Sep 17 00:00:00 2001 From: George Mandis Date: Sat, 4 Dec 2021 22:57:42 -0800 Subject: [PATCH] Adding feed to error message for more context --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 9b2545e..c99b1c3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -107,7 +107,7 @@ const processFeed = ( } catch (err) { console.log(`${error("Error processing:")} ${feed} ${benchmark(startTime)}`); - errors.push(err); + errors.push(`Error processing: ${feed} | ${err}`); } // if this is the last feed, go ahead and build the output