Merge branch 'master' of github.com:fosscord/fosscord-server

This commit is contained in:
Madeline 2023-01-15 17:36:40 +11:00
commit f971ca6e71

View File

@ -223,6 +223,7 @@ export async function postHandleMessage(message: Message) {
data.embeds.push(embed); data.embeds.push(embed);
} }
} catch (e) { } catch (e) {
console.error(`[Embeds] Error while generating embed`, e);
Sentry.captureException(e, (scope) => { Sentry.captureException(e, (scope) => {
scope.clear(); scope.clear();
scope.setContext("request", { url }); scope.setContext("request", { url });