Downgrade some errors to warnings on dashboard

This commit is contained in:
Arjan H
2021-12-05 10:12:29 +01:00
parent b5cdcbb414
commit dda8ecd4ba

View File

@@ -106,6 +106,12 @@ func _parseLine(line string, loc *time.Location) Activity {
message = message[0:idx]
}
}
if strings.Index(message, "failed to complete security handshake") > -1 {
activity.Class = "warning"
}
if strings.Index(message, "failed to receive the preface from client") > -1 {
activity.Class = "warning"
}
activity.Message = message
return activity