From ca25d09b753dc0d385248deea10e01b055bfc955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Far=C3=ADas=20Santana?= Date: Wed, 17 Apr 2024 15:00:41 +0200 Subject: [PATCH] fix: Add email template --- .../email/batch_export_run_failure.html | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 posthog/templates/email/batch_export_run_failure.html diff --git a/posthog/templates/email/batch_export_run_failure.html b/posthog/templates/email/batch_export_run_failure.html new file mode 100644 index 0000000000000..64d6b0afb1487 --- /dev/null +++ b/posthog/templates/email/batch_export_run_failure.html @@ -0,0 +1,31 @@ +{% extends "email/base.html" %} {% load posthog_assets %} {% load posthog_filters %} +{% block preheader %}If failures keep occurring we will disable this batch export{% endblock %} +{% block heading %}PostHog batch export {{ name }} has failed{% endblock %} +{% block section %} +

+ There's been a fatal error with your batch export {{ name }} at {{ time }}. Due to the nature of the error, it cannot be retried automatically and requires manual intervention. + + We recommend reviewing the batch export logs for error details: +

+ +
+ Go to the batch export +
+ +

+ After reviewing the logs, and addressing any errors in them, you can retry the batch export run manually. If the batch export continues to fail we will disable it. +

+{% endblock %} + +{% block footer %} +Need help? +Visit support +or +read our documentation.

+ +Manage these notifications in PostHog + +{% endblock %}