Skip to content

Commit

Permalink
Aggregate statsManager not found error logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sdsantos committed Feb 4, 2025
1 parent f67cb04 commit 705c7b8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ class RunNetTest(
private fun TaskEvent.Log.getKnownException() =
if (message.startsWith("cannot submit measurement")) {
CannotSubmitMeasurement()
} else if (message.startsWith("statsManager") && message.contains("not found:")) {
StatsManagerNotFoundError()
} else {
null
}
Expand All @@ -338,4 +340,6 @@ class RunNetTest(
inner class BugJsonDump(value: TaskEventResult.Value?) : Failure(null, value)

inner class CannotSubmitMeasurement : Failure(null, null)

inner class StatsManagerNotFoundError : Failure(null, null)
}

0 comments on commit 705c7b8

Please sign in to comment.