diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index c61b1d3..4606216 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -131,6 +131,8 @@ async function processUrl(msg, url) { "fedimbed", `Bailing trying to re-embed "${url}": Failed to get post from both AS2 and MastoAPI.` ); + } else if (postData2.error) { + logger.error("fedimbed", `Bailing trying to re-embed "${url}", MastoAPI gave us error: ${postData2.error}`); } else { cw = postData2.spoiler_warning; content =