Skip to content

Commit

Permalink
Change to a lower-noise reporting method.
Browse files Browse the repository at this point in the history
It can avoid to keep sending Third eye reports, but still get error message to help further investigation.

PiperOrigin-RevId: 442897019
  • Loading branch information
emilyguo1 authored and copybara-github committed Apr 19, 2022
1 parent 54f410c commit 7222cab
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,8 @@ public SkyValue compute(SkyKey skyKey, Environment env)
for (AspectKey aspectKey : orderedKeys) {
AspectValue aspectValue = (AspectValue) aspectValues.get(aspectKey);
if (aspectValue == null) {
BugReport.sendBugReport(
new IllegalStateException(
"aspectValue " + aspectKey + " was missing, this should never happen"));
BugReport.logUnexpected(
"aspectValue for: '%s' was missing, this should never happen", aspectKey);
return null;
}
topologicalAspectPathBuilder.add(aspectValue.getAspect());
Expand Down

0 comments on commit 7222cab

Please sign in to comment.