Browse Source

Don't tag ServerAlert notices as diagnostic

- These notices are intended to be acted upon by the
  front end application, so should not by classified as
  diagnostic.

- ServerAlerts may still be quiesced with EmitServerAlerts.
Rod Hynes 5 years ago
parent
commit
28b110f9bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      psiphon/notice.go

+ 1 - 1
psiphon/notice.go

@@ -873,7 +873,7 @@ func NoticeServerAlert(alert protocol.AlertRequest) {
 	repetitionKey := fmt.Sprintf("ServerAlert-%+v", alert)
 	repetitionKey := fmt.Sprintf("ServerAlert-%+v", alert)
 	outputRepetitiveNotice(
 	outputRepetitiveNotice(
 		repetitionKey, "", 0,
 		repetitionKey, "", 0,
-		"ServerAlert", noticeIsDiagnostic, "reason", alert.Reason, "subject", alert.Subject)
+		"ServerAlert", 0, "reason", alert.Reason, "subject", alert.Subject)
 }
 }
 
 
 type repetitiveNoticeState struct {
 type repetitiveNoticeState struct {