summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-15 17:36:40 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-15 17:36:40 +1100
commitf971ca6e713d6397b4d80c5bdd4a76477efb468e (patch)
treeaf0a13d86f48c6463aeef83201b1d76af3a8cdbd /src
parentWindow name patch + fix overlapping text in client patcher (diff)
parentAdd an error log if embed handler fails, in addition to the existing sentry log (diff)
downloadserver-f971ca6e713d6397b4d80c5bdd4a76477efb468e.tar.xz
Merge branch 'master' of github.com:fosscord/fosscord-server
Diffstat (limited to 'src')
-rw-r--r--src/api/util/handlers/Message.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts
index 93dc3bf4..d6fe48bd 100644
--- a/src/api/util/handlers/Message.ts
+++ b/src/api/util/handlers/Message.ts
@@ -223,6 +223,7 @@ export async function postHandleMessage(message: Message) {
 				data.embeds.push(embed);
 			}
 		} catch (e) {
+			console.error(`[Embeds] Error while generating embed`, e);
 			Sentry.captureException(e, (scope) => {
 				scope.clear();
 				scope.setContext("request", { url });