mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 10:19:34 +00:00
Downgrade some errors to warnings on dashboard
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user