Skip to content

Commit 8caf425

Browse files
committed
change notification failure_level
1 parent fa0458a commit 8caf425

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readthedocs/oauth/notifications.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from messages_extends.constants import ERROR_PERSISTENT
55

66
from readthedocs.notifications import SiteNotification
7+
from readthedocs.notifications.constants import ERROR_NON_PERSISTENT
78

89

910
class AttachWebhookNotification(SiteNotification):
@@ -60,7 +61,7 @@ def get_context_data(self):
6061
class GitBuildStatusFailureNotification(SiteNotification):
6162

6263
context_object_name = 'project'
63-
failure_level = ERROR_PERSISTENT
64+
failure_level = ERROR_NON_PERSISTENT
6465
failure_message = _(
6566
'Could not send {{ provider_name }} build status report for {{ project.name }}. '
6667
'Make sure you have the correct {{ provider_name }} repository permissions</a> and '

0 commit comments

Comments
 (0)