fedimbed: errors dump stack now

This commit is contained in:
Cynthia Foxwell 2023-09-22 21:02:00 -06:00
parent 784f2d9c20
commit 39ec14a6b0

View file

@ -712,7 +712,10 @@ events.add("messageCreate", "fedimbed", async function (msg) {
`Hit "${service}" for "${url}", processing now.` `Hit "${service}" for "${url}", processing now.`
); );
await processUrl(msg, url, hasSpoiler).catch((err) => { await processUrl(msg, url, hasSpoiler).catch((err) => {
logger.error("fedimbed", `Error processing "${url}": ${err}`); logger.error(
"fedimbed",
`Error processing "${url}":\n` + err.stack
);
}); });
break; break;
} }