From 39ec14a6b0e1b3ee3a0ef2aaacb25d71738ecbaf Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Fri, 22 Sep 2023 21:02:00 -0600 Subject: [PATCH] fedimbed: errors dump stack now --- src/modules/fedimbed.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index 94c6187..8493e3a 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -712,7 +712,10 @@ events.add("messageCreate", "fedimbed", async function (msg) { `Hit "${service}" for "${url}", processing now.` ); await processUrl(msg, url, hasSpoiler).catch((err) => { - logger.error("fedimbed", `Error processing "${url}": ${err}`); + logger.error( + "fedimbed", + `Error processing "${url}":\n` + err.stack + ); }); break; }