Pipe webhook error messages to info.

This commit is contained in:
zkldi
2022-03-31 00:00:07 +01:00
parent c15b61ecf5
commit 72c8f2d2c9
+3
View File
@@ -33,6 +33,9 @@ export async function EmitWebhookEvent(content: WebhookEvents) {
"Content-Type": "application/json",
Authorization: `Bearer ${client.clientSecret}`,
},
}).catch((err) => {
// We don't care about errors. It's probably on their end.
logger.info(err.message);
});
}
}