-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(backup): Relocation failed email
In any case where a relocation definitively fails (not merely retrying a failed task, but actually marking the relocation as a failure), we send the owner and/or creator of the relocation an email to this effect. Issue: getsentry/team-ospo#203
- Loading branch information
1 parent
6079d39
commit cf5ee14
Showing
9 changed files
with
598 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{% extends "sentry/emails/base.html" %} | ||
|
||
{% load i18n %} | ||
|
||
{% block main %} | ||
<h3>Relocation Failed</h3> | ||
<p>Your relocation has failed for the following reason:</p> | ||
{%if reason != "" %} | ||
<code> | ||
{{ reason }} | ||
</code> | ||
<br> | ||
<br> | ||
{% endif %} | ||
<p>Please <a href="https://help.sentry.io">contact support</a> for further assistance if necessary.</p> | ||
<p><small><i>ID: {{ uuid }}</i></small></p> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Your relocation has failed for the following reason: | ||
|
||
{%if reason != "" %} | ||
{{ reason }} | ||
{% endif %} | ||
|
||
Please contact support at https://help.sentry.io for further assistance if necessary. | ||
|
||
ID: {{ uuid }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.