Skip to content

Commit c70e58b

Browse files
committed
Don't double-report graph incidents
1 parent 50f7f4d commit c70e58b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/status.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ module.exports = robot => {
181181
if (message.indexOf("🔴 Our graph latest block") != -1 && !ongoingGraphIncident) {
182182
ongoingGraphIncident = true;
183183
channel.send("There appears to be an incident with the graph. \n" + message)
184-
} else if (message.indexOf("🔴") != -1 && !ongoingGenericIncident){
184+
} else if (message.indexOf("🔴") != -1 && !ongoingGenericIncident && !ongoingGraphIncident){
185185
ongoingGenericIncident = true;
186186
channel.send("There appears to be a generic incident. \n" + message)
187187
}

0 commit comments

Comments
 (0)